summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
Commit message (Expand)AuthorAgeFilesLines
* Mini security audit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5333 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-3/+3
* If inspircd crashes in std::string destructor in CommandParser::ProcessComman...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5232 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-131-1/+1
* Special check in cmd_quit and cmd_kill and special return value CMD_USER_DELE...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5230 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-131-1/+4
* Stop gcc prerelease (PRERELEASE? YEAH REALLY, WE HATE YOUR GUTS DEBIAN) from ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5197 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-101-1/+4
* Remove debug output•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5190 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-091-2/+0
* I'll give you ##TOAST, :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5189 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-091-0/+2
* Finish off the fix for bug #136 (a biggie for such a simple thing)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5151 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-061-7/+6
* All commands now return results CMD_FAILURE or CMD_SUCCESS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5150 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-061-1/+7
* Proper error checking on loading cmd_*.so files•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5122 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-031-8/+12
* Remove the shared object pointer from the hash after each reload•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5121 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-031-0/+1
* Add /RELOAD and move cmd_mode into its own command.•••/RELOAD is the only thing you cant reload (ahem) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5119 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-031-2/+63
* Auto loading of commands as shared objects via dlsym (very lightweight interf...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5118 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-031-136/+48
* 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-23/+232
* 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-1/+1
* 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-1/+1
* 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-3/+3
* extern time_t TIME -> InspIRCd::Time()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-3/+1
* (Bigger than it looks, i did this with perl inplace edit) -- commands now tak...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4862 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-53/+54
* 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-5/+1
* Mass-tidyup of module global vars, theyre no longer global vars.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4856 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-6/+0
* Move IsNick, IsIdent into class InspIRCd, update modules that use it.•••Change message.h to just a #warning saying its deprecated, and remove all use of it from the core :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4847 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-1/+0
* 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/+0
* Move clientlist and chanlist into InspIRCd*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4818 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-1/+0
* Move fd_ref_table into class InspIRCd*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4817 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-5/+0
* 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-7/+4
* 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-7/+7
* Remove old debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4760 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-071-3/+0
* Remove trailing spaces from input in irc::ircsepstream•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4759 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-061-0/+3
* Change a loop which uppercases the command to std::transform()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4723 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-051-2/+2
* Comments, add more detail, remove dnsqueue.h include from tons of places•••Remove THREADED_DNS defines from all over the place git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4629 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-5/+0
* Finish off /WHO (i think it covers everything). Now has a few extra options•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4581 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-5/+5
* Tidyup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4580 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-9/+3
* Typical, forgot a ;•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4579 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-1/+1
* Document <options:syntaxhints> and <options:nouserdns>•••Change syntaxhints to seperate RPL_TEXT (prefix SYNTAX) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4578 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-1/+6
* Change all references to voodoo numbers (7, 3 etc) to the new bitwise constan...•••Change a lot of user->fd > -1 to use the IS_LOCAL() macro git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4569 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-2/+2
* Make the error more obvious, still has 'not enough params' on the start now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4563 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-1/+1
* Re-order stuff so that users cant get syntax for commands they dont have acce...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4562 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-13/+9
* Add support for syntax of commands in place of the text 'Not enough parameter...•••To support this each derived class of command_t must set the value of command_t::syntax to a non-empty string. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4561 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-1/+6
* Ignore empty lines, don't try and process them as commands•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4430 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-3/+5
* *Changed user input/output buffering to incur less copies•••*Fix warnings in command_parse git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4418 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-2/+2
* Document loopcall (its still complicated in concept, but now easier to read a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4413 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-26/+35
* Created new class irc::commasepstream.•••Will read comma seperated lists and works identically to irc::tokenstream It's re-entrant so we can run two of them together for JOIN git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4412 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-179/+26
* Fix case sensitive commands issue due to new std::string based parser, improv...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4404 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-38/+19
* 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-9/+8
* MAJOR tidy of line parser, some parts rewritten and major chunks removed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4402 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-287/+38
* Removed GCC2 checks as we havent supported gcc2 for years•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4394 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-151-5/+0
* 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-7/+10
* Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-081-11/+1