summaryrefslogtreecommitdiff
path: root/src/modules/m_messageflood.cpp
AgeCommit message (Collapse)Author
2006-07-26Add extra method to mode handler, ModeHandler::ModeSet().brain
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
2006-07-16mass tidyup, change A LOT of stuff to const char** which was char** (such as ↵brain
parameters to commands in handlers) 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
2006-07-10Inherit just about everything from classbasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4299 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10Change to templated GetExt()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4284 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Add stuff for propogating mode out on +f * banbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4247 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Same here, tidy up the parameter to show what we actually stored (e.g. ↵brain
1:5fdfds -> 1:5) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4241 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Alter SetModeParam to take const char* to save on casts, notice a load of ↵brain
modules that arent setting the param or the mode inside the handler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4231 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Port to new API (last mode that has akward parameters done, yay!)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4224 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-14Fix reversed parameters in x:y - joinflood was not brokenbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3880 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-11Yet more const ref changesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3658 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-20Propogation of remote kicks (testy test)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3266 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03Altered format of OnUserMessagebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3047 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25Change m_redirect, m_joinflood and m_messageflood to put their modes in the ↵om
correct section and to use InsertMode() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2898 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Or so i thought...brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2841 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Fixedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2840 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Was using OnUserPre* when i wanted to use OnUser*, which meant that remote ↵brain
servers werent picking up the changes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2839 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Put some stuff back that was NEEDED.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2838 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Added MakeWildHost to userrec (*!*@dhost)brain
Added ban stuff to messageflood git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2836 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Fixes to server kick (i hope)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2835 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Forgot NOTICE and PRIVMSG implements()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2834 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22And yae, the compiler sayeth to brain, fix thine warning. and thou warning ↵brain
art fixeth. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2833 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Fixed simple typosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2832 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Added facility for servers to send KICK message (ew, i hate this crap)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2830 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Made '*' ban-specifier workbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2829 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Fixed typos etc to make this compile nowbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2828 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Fixed 005 to be f not Lbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2827 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22Added OnChannelDelete() method (called on KICK, PART or QUIT where a channel ↵brain
is deleted for cleanup of metadata) 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