summaryrefslogtreecommitdiff
path: root/src/modules/m_chanfilter.cpp
AgeCommit message (Collapse)Author
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-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-08-08WHEEEEE!!!!!brain
All of: Write(), WriteTo(), WriteFrom(), WriteServ() are now methods of userrec. Write_NoFormat(), WriteTo_NoFormat(), WriteFrom_NoFormat(), WriteServ_NoFormat() are now std::string-taking overloaded methods of the functions above All modules updated to use new syntax, my fingers hurt :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4798 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10Convert to templated GetExtbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4278 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Altered u_listmode to have a constructor arg 'autotidy' which if set to true ↵brain
runs input through ModeParser::CleanMask() otherwise leaves it alone git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4236 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-09Add a missing cf->DoImplements(List); >_<om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4202 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Okay..updates to u_listmode, general cleanups and add some virtual methods ↵om
which subclasses can override to alter behaviour..all looking much nicer and more flexible now. Update m_chanfilter to use u_listmode, demonstrates most or all of the new features of it and looks a hell of a lot prettier :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4201 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-04-03Fix to prevent adding empty phrases to +g listbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3802 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-01Deny +g words >35 chars to prevent having massive words that some users can ↵brain
remove while others cant git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3400 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21Added which word is blocked to the numericw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3285 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 use InsertModebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2901 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-17Added support for part messages in the module API (and therefore between ↵brain
servers too) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2815 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-27Updated chanfilter to use irc::stringfrostycoolslug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2677 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26Converted to new implements systembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2657 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-10Fixed Case sensitivity Bug (BugTrack #88)frostycoolslug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2308 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-30If->ifbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2077 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30Added a default max entriesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2076 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30Removed old OnUserSync and OnChannelSyncbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2071 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30Added OnSyncUser, OnSyncChannel, ProtoSendModebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2070 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-30Started on -Wall - safe compilebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 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-04-25Now works on gcc 2.95.x again.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1186 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-25Removed dependency upon strcasestr()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1185 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15Fixed a minor bug in text formatting of errorsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1107 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15Fixed a minor parameter bug (display glitch, wrong censor word in an error)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1104 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15Added the m_chanfilter module, implements chanmode +g which allows channel ↵brain
specific badwords (YAY) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1100 e03df62e-2008-0410-955e-edbf42e46eb7