summaryrefslogtreecommitdiff
path: root/src/modules/m_messageflood.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Fixed typos etc to make this compile now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2828 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-6/+9
* Fixed 005 to be f not L•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2827 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-1/+1
* Added OnChannelDelete() method (called on KICK, PART or QUIT where a channel ...•••Added m_messageflood.so (not yet finished, do not use yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2826 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-0/+193