summaryrefslogtreecommitdiff
path: root/src/modules/m_censor.cpp
AgeCommit message (Collapse)Author
2007-01-01Fix to allow for OnRehash to know what user initiated the rehashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Reasonably sized fix - when adding modes in modules, be sure to check the ↵brain
return value so we dont load two modules with conflicting modes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6137 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Fix broken +G for AnMaster (thanks for pointing out the bug)brain
Also: MAJOR speed increase for *any network that loads m_censor*! It seems that this was looping all the censor items (not attempting a replace though) for all channels and users, even those that WERE NOT +G! Fixed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6109 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Double whoopsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6107 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24Whoops!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6106 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-16Usermode +G allowed opers to change other user's modes. As the core doesn't ↵w00t
follow this behaviour anymore, neither does it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6002 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15Remove global namespacing, makes modules compile FASTAH. Also massive update ↵w00t
on headers (change to InspIRCd Development Team, extend copyright to 2007). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26Add extra parameter to OnUserPreNotice and OnUserPrePrivmsg, CUList ↵brain
&exempt_list, a list of users NOT to write to. By default it just contains the sender, you can add more. This also bumps the module api version by one. added "CUList fixme" to peaveys module just so it builds, as this will be refactored to use the new feature that was just added :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5806 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01Remove <censor file> directive, we've had <include> for years now, make use ↵brain
of it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5617 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19Insert massive change here.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-01Now with binary versioning goodnessbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Annotationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02All modules which implement simplemodes (no parameters, not a list mode) can ↵brain
now be UNLOADED O_o git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5102 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-25Remove On005Numeric event from a ton of modules which no longer need it (as ↵brain
CHANMODES= part of 005 is now automatically done) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5024 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-23ModeParser::InsertMode is no longer required -- this is auto-generated by ↵brain
the ModeParser based on what modes are registered and wether or not they have certain attributes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5007 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Just to mess with om's head, remove helperfuncs.h from everywherebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.brain
NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11ConfigReader and FileReader now take InspIRCd* to their constructorsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11None of the modules use an extern InspIRCd* any morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Last of Server:: methods moved to InspIRCd::. Server:: removed.brain
This will need a real good tidyup later, because now everything is in the right place, but its a mess because for now i threw them into place (e.g. space indenting, etc) Next on the todo: Make command handlers have a ServerInstance (gank!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4861 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.brain
Changed Parameter for modules from Server* to InspIRCd*. TODO: Move remaining Server* Modules into InspIRCd* and remove class Server. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10So much stuff changed in this one, i forgot most of it.brain
Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Move InsertMode into ModeParserbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4849 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09ServerConfig extern moved into class InspIRCdbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Stripcolor not finished yet.brain
Add security check into censor and botmode (om you will need this in cloaking) which prevents non-opers from changing other users modes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4213 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09DELETE()'s in destructors *fwap*om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4203 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Convert m_censor to new apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4196 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Refactored user modes to work like the channel modes - core and module data ↵brain
now the same storage format without ::modebits git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-24delete operator tracking in debug mode (using a macro -- live with it.)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-06Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE ↵w00t
THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12Renamed to chanrec::modesbrain
Renamed IsCustomModeSet to IsModeSet GetModeParameter will now return the channel limit (as a string) for a request for mode 'l' and the channel key for a request for mode 'k'. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3692 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11deprecated covariant return type flux capacitor flopcircuit removal with ↵brain
reference pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3662 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11More converted modulesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3655 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04Changed m_censor to avoid reading config several times for each pmbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3445 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04m_censor skenmy fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3444 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19More exception throwing in constructorsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3245 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19Added exception throwerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3243 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19Should fix case insensitivity issuebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3239 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-04Added "char status" parameter to OnUserPreNotice and OnUserPreMessage for ↵brain
NOTICE @#chan etc. Tidied up craq++ in modules (copy and pasting OnUserPreNotice into OnUserPreMessage?! why not just call one from the other!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3072 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25Changed to InsertModebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15Updated copyrights in headers etc using perl inplace editbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-31Minor cosmetic fault pointed out by Trystanw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2714 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26Fixed to new new 'Implements' arraybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2656 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-23Review and optimizebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2646 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-23Stylistic changes, added a comment on possible configuration file inclusion.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2644 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-07Changed behaviour of module API to pass Server* to the constructor, rather ↵brain
than have to create one (makes more sense) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30Added a parameter to OnRehash for the rehash parameterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2058 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Changed to use __single_client_alloc, faster on most systems in a single threadbrain
Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Moved a ton of functions into helperfuncs.h to speed up recompilesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-02Fix for bug #62 (replaces only occur once per line)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1278 e03df62e-2008-0410-955e-edbf42e46eb7