summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix this properly, the way I should have done initially.. only load RFC comma...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-151-8/+0
* Backport leak on /rehash fix.•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10788 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-11-021-1/+7
* Fix crash if /reload is not given a parameter (oper only command)•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9607 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-041-0/+3
* Fix a bad return value•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9559 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-201-1/+1
* Fix RemoveCommands to remove all commands (this function had some really odd ...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@9555 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-201-11/+3
* Fix an unneeded assignment in LoopCall that stops it being used for commands ...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8970 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-201-2/+0
* Backport reworked culllist from 1.2: drastically improves performance when qu...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8905 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-111-5/+2
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8695 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-2/+2
* Backport r8661: don't send 421 to unregistered clients•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8662 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-081-1/+1
* Backport the changes to CallHandler to fix an issue Andy Church and Casey are...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8128 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-061-22/+31
* Add some stuff to change how we process a token sepeperated stream•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7801 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-231-5/+7
* Fix this so it works. •••OBVIOUS WARNING FOR THE DUMB: Dont go overwriting .so files at random to test this, you WILL crash your ircd if you do this improprerly, this is a feature of the linux shared object loader. If you want to test this, try with: rm cmd_whatever.so && echo "TESTTEST" >cmd_whatever.so, do NOT just do the echo. git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7714 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-111-11/+32
* bp: Make the return codes correct, and allow for LoadCommand without a user p...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7711 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-111-1/+5
* Backport: Provide error output on failure to load a core command; to console ...•••git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7709 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-111-7/+17
* Tidyup a bunch of stuff that was using userrec::modes directly rather than us...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7506 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-231-2/+2
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+563
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-563/+1
* formatting and ^M•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7451 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+1
* Fix for minor memory leak on unloading module, bug #340•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7439 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-151-0/+1
* Optimizations and code tidyups. QA please check that svsnick and other forced...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7416 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-011-2/+2
* Sexeger!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7241 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-051-2/+2
* InspIRCd: Now with even MORE leet.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7240 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-051-17/+21
* Comments here, too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7239 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-051-1/+10
* Refactored InspIRCd::Duration(). The leetcode now lives!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7237 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-051-45/+16
* Fix typos found by Zaba. Thanks.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7234 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-06-051-2/+2
* Fix (tested) for failing dlsym on win32•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7051 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-191-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/+6
* Change the way i/o lines are formatted in debug log to make them more intuiti...•••Thu May 17 17:56:16 2007: C[15] -> :Brain MODE #test Thu May 17 17:56:17 2007: C[15] -> :Brain WHO #test git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7039 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-171-1/+1
* Add a progress meter for loading of core commands, fix broken implementation ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7038 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-161-0/+6
* We've had an IS_OPER macro for a long time. About time we started using it, m...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6990 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-121-1/+1
* we typedeffed nspace::hash_map<std::string,command_t*> to command_table ages ...•••Now its time we used it! command_table::iterator is far neater than nspace::hash_map<std::string,command_t*>::iterator git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6907 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-071-6/+6
* Proper fix for clients that send a nickprefix on their commands (the rfc says...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6881 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-041-0/+8
* Don't send SYNTAX to clients which havent registered fully yet. Nothing says ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-141-1/+1
* We had to roll our own time function because some craqsmoker thought having a...•••strftime. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6749 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-061-0/+5
* Fix for bug #199 (Feature request) submitted by owine. Ended up adding an ext...•••It turned into a biggie :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6742 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-051-1/+9
* This needs some general QA-ing. Add support to new parser (introduced in 1.1)...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6731 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-021-2/+3
* 1) Fix for nickname overruled with new cullList stuff -- we have to change th...•••2) Add a mute flag for users, so we can drop commands from users who have been placed on the cullList. This is independent of the actual cullList and can be used as a general mute flag e.g. by shun modules. 3) Fix /kill to also not quit the user immediately, remove need for CMD_USER_DELETED return anywhere in the code. *** THIS NEEDS TESTING BY QA *** git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6596 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-191-10/+8
* Remove some debug here, cuts down boot output•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6364 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-171-9/+0
* Change the format of some debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6354 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-151-1/+1
* Tidyup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6103 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-2/+2
* Hash rehashing change•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-83/+0
* Cut down on debug on restart•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6073 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-1/+0
* Invented safe delete-while-itering for hash_map.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6029 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-171-10/+20
* When receiving an FJOIN, if we have no local users, dont send deops, this jus...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6028 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-171-15/+11
* Jesus, look who's the commit whore today. More header updates, and removal of...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-5/+2
* (1) make command reloads be announced to opers•••(2) change loadmodule and unloadmodule to say WHO did it, like with /reload git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5885 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-071-0/+1
* Change this a LOT.•••<oper blah.... hash="md5|sha256" pass="blah..."> It will now only check pass if you put the hash= in, people have been bugging for this for a while. note the m_oper_hash module will try and detect both m_sha256 and m_md5 now, and will provide /mkpasswd that can do either. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5862 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-051-2/+2
* fix small typo (also doubles as test commit)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5685 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-11-111-1/+1
* Oops, add special-case for user killing themselves (their userrec is gone whe...•••Also put checks in LoopCall to check that the user didnt vanish half way through the comma seperated list, if they did, abort at that element of the list. This means if your nick is 'a' and you do "/kill b,c,a,f,g die" only you, b and c will be removed from irc. (this is to be expected, really) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5684 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-111-2/+9
* Whoops, make targets case insensitive when cutting down a comma seperated list•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5656 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-051-6/+6