summaryrefslogtreecommitdiff
path: root/src/modules/m_override.cpp
Commit message (Expand)AuthorAgeFilesLines
* Header rearrangement, move inspircd.h to top, remove stdio, stdlib, stdblahbl...•••This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-1/+1
* Windows support. Tested and working to compile on freebsd and linux. Next ste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-191-2/+2
* The commit that should have been r7000: src/modules now uses IS_OPER instead ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7001 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-121-3/+3
* Crusade to remove debug from stable and tested parts of the core and base mod...•••Most of the code here being de-noised hasnt had a crash or bug in it for many months, if not a year so the debug output is useless noise in the logfile when trying to trace a bug in a REAL problem area. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6356 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-151-7/+0
* Fix to allow for OnRehash to know what user initiated the rehash•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-011-2/+2
* 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-6/+3
* Fix this to display the channel name when overriding a ban, and to properly d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5541 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-261-9/+7
* Hopefully fix override notices on channel bans, also make the override notice...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5539 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-10-261-3/+1
* 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
* Allow * in override to mean all tokens in 1.1•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5485 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-161-4/+4
* 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
* All done.•••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 Gravatar brain2006-09-251-1/+1
* Add const std::string &original_command to OnPreCommand and OnPostCommand, wh...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5265 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-171-1/+1
* Much neater more compact override notices for modes:•••[13:16] --- SNOTICE *** OVERRIDE: Brain Overriding modes: #test +sSCT [13:16] --- SNOTICE *** OVERRIDE: Brain Overriding modes: #test +ohv Brain Brain Brain [Detail: 1 op ] [13:16] --- SNOTICE *** OVERRIDE: Brain Overriding modes: #test +vho Brain Brain Brain [Detail: 1 op 1 voice 1 halfop ] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5193 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-101-10/+37
* Tidy up override snotices•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5181 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-091-8/+8
* More debug logging in this module•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5179 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-091-6/+27
* Changes to m_override•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5177 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-091-70/+70
* Add chanrec::IsBanned() so that we dont have to keep walking the banlist in v...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5099 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-021-9/+4
* Make ban override notice only trigger when they actually match a ban :P•••Alter all to use snomask O (oper override) which this module enables git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5092 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-311-13/+26
* Remove blank lines from previous perl inplace edits•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5056 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-281-10/+1
* Make oper-override notices a bit more grammar friendly, add an override notic...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5055 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-08-281-3/+5
* 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
* 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-2/+2
* 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
* Fixes and removal of Server::GetServerName()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4844 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-3/+4
* cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), chanrec::GetStatusF...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-3/+3
* FindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, ...•••ServerConfig takes InspIRCd pointer in its constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4832 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-10/+12
* Move tons more stuff into class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4819 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-1/+1
* 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
* 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-3/+3
* 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-1/+1
* Indentation fixes, and stop it snoticing on every join by an override-allowed...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3775 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-271-36/+52
* if(chan->limit >= Srv->CountUsers(chan)) snotice & allow!?•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3774 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-271-14/+15
* Renamed to chanrec::modes•••Renamed IsCustomModeSet to IsModeSet GetModeParameter will now return the channel limit (as a string) for a request for mode 'l' and the channel key for a request for mode 'k'. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3692 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-121-1/+1
* *NEEDS TESTING* changed binarymodes to use the custom_modes entries•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3691 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-121-1/+1
* 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-2/+2
* These modules were using deprecated Server::IsOnChannel. They arent any more :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3563 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-081-1/+2
* Tidied up m_override to avoid use of configreader during free-running•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3450 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-041-9/+15
* Removed a whole lot of strchr's looking for mode +o where we can do if *user-...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3221 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-151-1/+1
* Wrong varname•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3086 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-051-1/+1
* Re-organized order of cmd_kick stuff (OnUserPreKick) to make override kicks w...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3085 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-051-10/+16
* MODEOP and MODEDEOP were transposed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2952 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-281-2/+2
* Updated copyrights in headers etc using perl inplace edit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-151-1/+1
* Corrections•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2664 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-261-1/+1
* Converted to new Implements system•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2663 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-261-0/+5
* std::string -> irc::string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2480 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-151-1/+1
* Fixed to work with new IsInvited•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2479 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-151-1/+2
* Changed behaviour of module API to pass Server* to the constructor, rather th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-071-7/+5