summaryrefslogtreecommitdiff
path: root/src/modules/m_services.cpp
Commit message (Expand)AuthorAgeFilesLines
* Eliminate some string copies, tidy some code, and reverse some short-circuit ...•••(Expensive(x) && Cheap(y)) -> (Cheap(y) && Expensive(x)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6591 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-181-1/+1
* Fix for bug #205 reported by nenolod (modules that erroneously check remote u...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6532 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-071-0/+3
* Mass comment removal.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-171-9/+5
* 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-5/+7
* 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 extra parameter to OnUserPreNotice and OnUserPrePrivmsg, CUList &exempt_l...•••This also bumps the module api version by one. added "CUList fixme" to peaveys module just so it builds, as this will be refactored to use the new feature that was just added :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5806 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-261-3/+3
* Fix these too!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5575 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-281-1/+1
* Add support for OnWhoisLine, which allows modules to change or drop any line ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5570 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-281-1/+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
* 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
* Fixed bugs #150 and #151, thanks to jamie for reporting and patches•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5311 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-09-241-3/+7
* Comments describing classes, for the url http://svn.inspircd.org/docs/annotat...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5251 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-151-0/+12
* Merge jamies many patches•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-131-2/+2
* Typo in mode handler doesnt let -M be removed!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5161 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-081-1/+1
* All modules which implement simplemodes (no parameters, not a list mode) can ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5102 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-021-1/+7
* Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include lists•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-301-2/+0
* 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-10/+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-6/+6
* Move remaining functions:•••operstrcmp* commands.cpp InspIRCd::operstrcmp() duration* commands.cpp InspIRCd::duration() host_matches_everyone* commands.cpp InspIRCd::host_matches_everyone() ip_matches_everyone* commands.cpp InspIRCd::ip_matches_everyone() nick_matches_everyone* commands.cpp InspIRCd::nick_matches_everyone() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-5/+5
* Change to using Instance->Log (InspIRCd::Log) rather than log() macro•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-4/+4
* 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-9/+9
* 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-12/+13
* 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-10/+10
* 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-6/+6
* 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-1/+1
* Convert to new api•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4234 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-091-0/+5
* Add support for new API•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4233 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-091-64/+155
* Refactored user modes to work like the channel modes - core and module data n...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-5/+5
* 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-2/+2
* 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-1/+1
* Added 'is a registered nick' to whois•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3284 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-02-211-1/+11
* Added "char status" parameter to OnUserPreNotice and OnUserPreMessage for NOT...•••Tidied up craq++ in modules (copy and pasting OnUserPreNotice into OnUserPreMessage?! why not just call one from the other!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3072 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-041-33/+3
* Make m_services use InserMode (are we done yet?)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2957 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-01-281-18/+4
* kludge in the wrong place ;)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2882 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-241-2/+2
* Added trick to allow local server to unset -r only in one specific condition ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2881 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-241-1/+7
* Added code to remove +r on a nick if they have it and change nicks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2880 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-241-1/+13
* Umode +R was broken (only worked for channels) -- fixed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2819 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-181-4/+1
* 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
* Converted to 'Implements' system•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2666 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-261-5/+5
* 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-5/+5
* Fixes to +r not being set reported by Vincent•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1588 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-06-021-5/+10
* Changed to use __single_client_alloc, faster on most systems in a single thread•••Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-151-0/+2
* Added another check for 'NoServerUline' type thing.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1289 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar frostycoolslug2005-05-031-1/+1
* Missed missing )•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1288 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar frostycoolslug2005-05-031-1/+1