aboutsummaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
Commit message (Expand)AuthorAgeFilesLines
* More conversion, and a note to client coders.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10011 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-131-6/+6
* m_abbreviation completed. :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9845 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-061-6/+6
* Update comment•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9778 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-201-4/+1
* char -> std::string conversion•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9777 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-201-2/+2
* Convert connection::host•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9768 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-191-1/+1
* Make User:: nick/ident/dhost/fullname and some other things std::string inste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-05-181-14/+14
* Add sanity checks to LoopCall to prevent miscalls like this by broken 3rd par...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9643 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-051-0/+6
* *param.c_str() -> param[0]•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9612 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-041-1/+1
* < MAXPARAMETERS for the size() check here can now be <= instead•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9611 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-041-1/+1
* Conversion of command handler params from "const char* const* parameters, int...•••IMPORTANT: The mode parser public calls have had to be tweaked a bit to also use the string vector. Note that this makes a LOT of our core a bit messy and paves the way to convert a lot of stuff from the mess of .c_str() calls to using std::string params directly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9608 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-041-53/+43
* Fix RemoveCommands to remove all commands (this function had some really odd ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9554 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-201-12/+3
* Apply patches to remove 200-odd dll limit on windows, made by GreenReaper, lo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9533 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-181-1/+2
* Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that OnNumer...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9175 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-221-7/+7
* Convert remaining InspIRCd::Log() calls to new logging system•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-221-4/+4
* Wheee, mass commit! this adds const stafety, throwing a compile error if anyo...•••copy the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8971 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-201-4/+4
* Seems trivial now, looking at it. Still to test then will commit to trunk.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8969 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-201-2/+0
* Seperate USERIO into USERINPUT and USEROUTPUT•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8949 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-171-1/+1
* Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-111-1/+1
* Add a printf-type override for LogManager::Log(). We need to find a way to se...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8860 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-091-1/+1
* Change API OnOperCompare to OnPassCompare, password hashing is now available ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8755 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-01-271-2/+2
* Fix.. snomask O is already taken (ffs) so use A instead•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-171-1/+1
* Remove InspIRCd::WriteOpers in favour of snomask O•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8728 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-171-1/+1
* Two stage commit: don't set user->muted except in QuitUser (duplicate setting...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8716 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-161-5/+3
* Fix a stupid crash on unknown commands caused by me blindly applying a 1.1 pa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8710 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-151-2/+5
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Don't send 421 to unregistered clients, per RFC (thanks nenolod)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8661 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-081-1/+1
* this should fix any of the crashes w00t outlined where User::MyClass == NULL.•••The simplest fix seems to be that if the user has no class, skip all the code that uses the class values. This makes sense because the only situation where User::MyClass == NULL is when they arent authorised to connect and are being quit so checking flood levels and max sendq etc are irrelevent. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8358 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-251-14/+19
* Tidyups•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8351 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-241-14/+0
* Pedantic safety•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8350 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-241-1/+1
* Move some stuff from using userrec cached stuff to using stuff in the connect...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8339 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-231-4/+4
* Pedantic safe•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8314 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-1/+1
* Remove the need for a bunch of the hard coded arrays/hashes by scanning the s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-221-0/+2
* Use the new IncreasePenalty rather than directly using += on the Penalty value.•••Maybe the penalty value should be private and there should be an accessor, GetPenalty()? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8266 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+1
* Add the check for user->ExemptFromPenalty•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8255 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-6/+10
* Yay, all works!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8251 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-1/+5
* *untested* command buffering/penalty•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8250 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-211-15/+60
* UID translator broken with space or comma seperated lists (thanks danieldg)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8220 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-171-7/+3
* Apply some readability changes to ProcessCommand, which coincidentally may sp...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8214 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-59/+67
* Move some other stuff to helperfuncs (uline related, and timestring)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8213 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-23/+0
* Fuck. Press save, then commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8212 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-43/+0
* In the grand tradition of huge fucking commits:••• - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-10/+10
* class command_t -> class Command. Whey :D•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-14/+14
* Bad Brain, bad. *spank* :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8201 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-1/+1
* Make error messages on failure to load command more useful•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8194 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-4/+4
* Slight change to traffic logging, as I never remember which way the damn arro...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7948 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-1/+1
* Make this comment make a little more sense.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7935 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-2/+1
* Similar refactor here. Thanks danielg.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7927 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-3/+6
* Tidy this up a bit (it looked weird :P)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7926 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-10/+19
* While I'm in here, make it easier to read, and use short circuiting (IS_REMOT...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7925 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-1/+1
* Debug to try figure this out ..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7895 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-0/+5