summaryrefslogtreecommitdiff
path: root/src/commands.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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/+111
* '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-111/+1
* 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-80/+0
* Tweak hostname matching in HostMatchesEveryone to compensate for being able t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6569 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-101-3/+15
* Use userrec::MakeHost(), not strlcpy/strlcat!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6568 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-101-5/+1
* Hash rehashing change•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-6/+6
* 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-6/+3
* This has changed again, i suggest you dont bother trying to keep up till im d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5863 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-051-4/+2
* 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-28/+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-8/+8
* 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-33/+25
* 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-2/+2
* 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-2/+0
* Move all_opers into class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4857 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-38/+0
* 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-3/+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
* 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-3/+3
* 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-9/+6
* 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-6/+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-9/+8
* 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-2/+2
* Support CIDR, CIDR zline, /oper and CIDR <connect> tags. NOTE: With CIDR oper...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4732 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-061-1/+1
* Hopefully stop compile warning which I don't get anyway•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4724 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-08-051-1/+1
* Change to using userrec::ip as a sockaddr to store port, ip and address famil...•••This allows us to handle remote ipv6 users on an ipv4 server, and vice versa. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-041-1/+1
* 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-4/+0
* The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-1/+1
* 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
* 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-12/+3
* Optimisations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3826 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-041-18/+20
* move do_whois to cmd_whois, i'm stopping now. really.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3825 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-041-63/+0
* All new shiny config parser, there's probably some bugs there somewhere but h...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3817 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-041-6/+6
* Remove un-needed strlen and pointer in duration()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3805 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-031-3/+2
* split_clist will never send lines over 512 chars, also should be faster•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3804 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-031-11/+26
* Make /whois code a little prettier, make /whowas show real host as well as di...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3788 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-301-3/+3
* const references•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3624 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-101-3/+3
* Whowas refactor - probably wont compile yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3523 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-1/+0
* is_uline was an inefficient piece of crap - fixed.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3428 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-021-12/+2
* Made extensive use of charlcat to cut down on strlcat usage•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3417 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-021-1/+1
* 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-10/+3
* - Made some notes about potentially restructuring things a bit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3217 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-02-151-0/+3
* Added ircu-like hidewhois feature that allows hiding of server name in whois ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3034 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-031-1/+8
* "Oper of unknown type" -> "313 %s %s :is an IRC operator"•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2972 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-291-1/+1
* Improved IP handling. Now uses in_addr to store client ip, not char[16]!•••Added global and local session limits All of this needs TESTING. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2934 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-271-2/+2
* CleanFilename movage•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2807 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-151-6/+0
* 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
* Changed fd_ref_table from 65536 to more correct MAX_DESCRIPTORS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2769 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-111-1/+1
* Fixed an extremely n00bish mistake involving referencing a global copy of Ser...•••(everyone point and laugh at Brain) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2692 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-291-1/+0
* Adding hook type checking to event calls to speed them up•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-261-2/+2