summaryrefslogtreecommitdiff
path: root/src/modules/m_joinflood.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Now with binary versioning goodnessGravatar brain2006-10-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
* All done.Gravatar brain2006-09-251-1/+1
| | | | | | | Modules may now change the privialges each user gets as they join, in OnUserPreJoin. For the first user in, this value defaults to a string containing "@" otherwise it defaults to a string containing nothing. If you change it, they get the new prefixes instead, and yes module-based prefixes ARE supported and its all automatically networked. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5327 e03df62e-2008-0410-955e-edbf42e46eb7
* AnnotationsGravatar brain2006-09-151-2/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix minor memory leak when setting new param that replaces oldGravatar brain2006-09-131-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5228 e03df62e-2008-0410-955e-edbf42e46eb7
* FixGravatar brain2006-09-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5226 e03df62e-2008-0410-955e-edbf42e46eb7
* And fix againGravatar brain2006-09-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5224 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge jamies many patchesGravatar brain2006-09-131-0/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5223 e03df62e-2008-0410-955e-edbf42e46eb7
* Because these modes take no parameter when being removed, they need no ↵Gravatar brain2006-09-021-1/+2
| | | | | | special code for ModeHandler::RemoveMode() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5111 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for parameters which contain a colon (which is not the first char in ↵Gravatar brain2006-08-301-0/+1
| | | | | | the string) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5084 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove On005Numeric event from a ton of modules which no longer need it (as ↵Gravatar brain2006-08-251-6/+1
| | | | | | CHANMODES= part of 005 is now automatically done) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5024 e03df62e-2008-0410-955e-edbf42e46eb7
* ModeParser::InsertMode is no longer required -- this is auto-generated by ↵Gravatar brain2006-08-231-1/+0
| | | | | | 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
* Just to mess with om's head, remove helperfuncs.h from everywhereGravatar brain2006-08-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
* CamelCaseRocksSoMuchICamelCasedAllTheMethodsOfClassInspIRCdSoThatItAllLooksNeat.Gravatar brain2006-08-111-1/+1
| | | | | | | NowSomebodyHasToSpendHoursDocumentingAllOfThisIWonderWhoThatWillEndUpBeing... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4889 e03df62e-2008-0410-955e-edbf42e46eb7
* Now two types of log macro, log() and ilog(). log() assumes an InspIRCd ↵Gravatar brain2006-08-111-5/+0
| | | | | | | | | object called ServerInstance, ilog() takes an InspIRCd object as first param. 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
* None of the modules use an extern InspIRCd* any moreGravatar brain2006-08-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863 e03df62e-2008-0410-955e-edbf42e46eb7
* Last of Server:: methods moved to InspIRCd::. Server:: removed.Gravatar brain2006-08-101-2/+2
| | | | | | | | 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
* Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.Gravatar brain2006-08-101-3/+3
| | | | | | | | 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
* So much stuff changed in this one, i forgot most of it.Gravatar brain2006-08-101-2/+2
| | | | | | | 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
* Move InsertMode into ModeParserGravatar brain2006-08-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4849 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes and removal of Server::GetServerName()Gravatar brain2006-08-101-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4844 e03df62e-2008-0410-955e-edbf42e46eb7
* ServerConfig extern moved into class InspIRCdGravatar brain2006-08-091-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7
* WHEEEEE!!!!!Gravatar brain2006-08-081-3/+3
| | | | | | | | | 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
* WriteChannel* functions and ChanExceptSender* functions are now methods of ↵Gravatar brain2006-08-081-1/+1
| | | | | | chanrec. They probably should be renamed too eventually. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4788 e03df62e-2008-0410-955e-edbf42e46eb7
* Change std::pair<bool,std::string> to neater typedef "ModePair"Gravatar brain2006-07-271-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4557 e03df62e-2008-0410-955e-edbf42e46eb7
* Add extra method to mode handler, ModeHandler::ModeSet().Gravatar brain2006-07-261-0/+9
| | | | | | | | | | | 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
* Inherit just about everything from classbaseGravatar brain2006-07-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4299 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to templated GetExt()Gravatar brain2006-07-101-10/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4284 e03df62e-2008-0410-955e-edbf42e46eb7
* Same here, tidy up the parameter to show what we actually stored (e.g. ↵Gravatar brain2006-07-091-0/+1
| | | | | | 1:5fdfds -> 1:5) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4241 e03df62e-2008-0410-955e-edbf42e46eb7
* Alter SetModeParam to take const char* to save on casts, notice a load of ↵Gravatar brain2006-07-091-0/+3
| | | | | | 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
* Fixed for new apiGravatar brain2006-07-091-62/+64
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4221 e03df62e-2008-0410-955e-edbf42e46eb7
* delete operator tracking in debug mode (using a macro -- live with it.)Gravatar brain2006-04-241-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3904 e03df62e-2008-0410-955e-edbf42e46eb7
* - Incorrect Gravatar w00t2006-02-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3206 e03df62e-2008-0410-955e-edbf42e46eb7
* Change m_redirect, m_joinflood and m_messageflood to put their modes in the ↵Gravatar om2006-01-251-19/+4
| | | | | | correct section and to use InsertMode() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2898 e03df62e-2008-0410-955e-edbf42e46eb7
* Swapped around params to make this workGravatar brain2006-01-241-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2879 e03df62e-2008-0410-955e-edbf42e46eb7
* Added joinflood +jGravatar root2006-01-241-0/+274
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2878 e03df62e-2008-0410-955e-edbf42e46eb7