summaryrefslogtreecommitdiff
path: root/src/modules/m_messageflood.cpp
Commit message (Expand)AuthorAgeFilesLines
* Reasonably sized fix - when adding modes in modules, be sure to check the ret...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6137 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-281-1/+2
* Fix setting of * for bans in m_messageflood, this has been broken for quite s...•••Spotted on barafranca, tested on chatspike. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6001 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-161-3/+3
* Remove global namespacing, makes modules compile FASTAH. Also massive update ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-8/+3
* Add exception lists to OnUserMessage and OnUserNotice, to be used for smarter...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5817 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-271-2/+2
* Insert massive change here.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-191-1/+1
* Now with binary versioning goodness•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-011-1/+1
* Annotations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-151-2/+4
* Fix m_messageflood along same lines as m_joinflood (jamie forgot a patch, i f...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5225 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-131-0/+13
* Because these modes take no parameter when being removed, they need no specia...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5111 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-021-1/+2
* Remove On005Numeric event from a ton of modules which no longer need it (as C...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5024 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-251-6/+1
* ModeParser::InsertMode is no longer required -- this is auto-generated by the...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5007 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-231-1/+0
* Just to mess with om's head, remove helperfuncs.h from everywhere•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.•••NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* Now two types of log macro, log() and ilog(). log() assumes an InspIRCd objec...•••TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-5/+0
* ConfigReader and FileReader now take InspIRCd* to their constructors•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* None of the modules use an extern InspIRCd* any more•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* Last of Server:: methods moved to InspIRCd::. Server:: removed.•••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 Gravatar brain2006-08-101-3/+3
* Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.•••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 Gravatar brain2006-08-101-3/+3
* So much stuff changed in this one, i forgot most of it.•••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 Gravatar brain2006-08-101-2/+2
* Move InsertMode into ModeParser•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4849 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-1/+3
* ServerConfig extern moved into class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-0/+1
* WHEEEEE!!!!!•••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 Gravatar brain2006-08-081-2/+2
* WriteChannel* functions and ChanExceptSender* functions are now methods of ch...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4788 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-1/+1
* Change std::pair<bool,std::string> to neater typedef "ModePair"•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4557 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-271-1/+7
* Add extra method to mode handler, ModeHandler::ModeSet().•••Returns a std::pair<bool,string>. if the bool is true, the mode is set, and the second item in the pair is the parameter set on it, if any If the bool is false, the mode is not set, and the parameter given is returned as the second item of the pair To be used in mode bouncing, to build a safe set of bounced modes (dont ask yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4549 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-261-0/+9
* mass tidyup, change A LOT of stuff to const char** which was char** (such as ...•••which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-2/+2
* Inherit just about everything from classbase•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4299 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-1/+1
* Change to templated GetExt()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4284 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-8/+9
* Add stuff for propogating mode out on +f * ban•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4247 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-091-0/+12
* Same here, tidy up the parameter to show what we actually stored (e.g. 1:5fdf...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4241 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-091-0/+1
* Alter SetModeParam to take const char* to save on casts, notice a load of mod...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4231 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-091-0/+3
* Port to new API (last mode that has akward parameters done, yay!)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4224 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-091-70/+75
* delete operator tracking in debug mode (using a macro -- live with it.)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-241-2/+2
* Fix reversed parameters in x:y - joinflood was not broken•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3880 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-141-1/+1
* Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE T...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-04-061-5/+5
* Yet more const ref changes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3658 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-3/+3
* Propogation of remote kicks (testy test)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3266 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-201-13/+16
* Altered format of OnUserMessage•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3047 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-031-2/+2
* Change m_redirect, m_joinflood and m_messageflood to put their modes in the c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2898 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-251-19/+4
* Or so i thought...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2841 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-1/+1
* Fixed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2840 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-1/+1
* Was using OnUserPre* when i wanted to use OnUser*, which meant that remote se...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2839 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-10/+6
* Put some stuff back that was NEEDED.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2838 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-0/+1
* Added MakeWildHost to userrec (*!*@dhost)•••Added ban stuff to messageflood git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2836 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-0/+8
* Fixes to server kick (i hope)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2835 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-2/+12
* Forgot NOTICE and PRIVMSG implements()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2834 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-1/+1
* And yae, the compiler sayeth to brain, fix thine warning. and thou warning ar...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2833 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-0/+1
* Fixed simple typos•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2832 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-2/+2
* Added facility for servers to send KICK message (ew, i hate this crap)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2830 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-1/+72
* Made '*' ban-specifier work•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2829 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-1/+1