summaryrefslogtreecommitdiff
path: root/src/commands.cpp
AgeCommit message (Collapse)Author
2006-08-06Support CIDR, CIDR zline, /oper and CIDR <connect> tags. NOTE: With CIDR ↵brain
oper, ident field is not supported (yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4732 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-05Hopefully stop compile warning which I don't get anywayom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4724 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Change to using userrec::ip as a sockaddr to store port, ip and address ↵brain
family, rather than userrec::ip4 and userrec::port. 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
2006-08-01Comments, add more detail, remove dnsqueue.h include from tons of placesbrain
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
2006-08-01The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if ↵brain
this works yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-16mass tidyup, change A LOT of stuff to const char** which was char** (such as ↵brain
parameters to commands in handlers) 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
2006-04-08Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ↵om
going into inspircd.*, doesn't look like I've broken anything... :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04Optimisationsom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3826 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04move do_whois to cmd_whois, i'm stopping now. really.om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3825 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-04All new shiny config parser, there's probably some bugs there somewhere but ↵om
hey...I've been up all night. make clean before you try and compile this. Really. And nobody dare complain git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3817 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-03Remove un-needed strlen and pointer in duration()om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3805 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-03split_clist will never send lines over 512 chars, also should be fasterom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3804 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-30Make /whois code a little prettier, make /whowas show real host as well as ↵om
displayed host and show real server/fake server correctly (real to opers). Remove some unecessary casts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3788 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10const referencesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3624 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Whowas refactor - probably wont compile yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3523 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02is_uline was an inefficient piece of crap - fixed.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3428 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02Made extensive use of charlcat to cut down on strlcat usagebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3417 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-15Removed a whole lot of strchr's looking for mode +o where we can do if ↵brain
*user->oper git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3221 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-15- Made some notes about potentially restructuring things a bitw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3217 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03Added ircu-like hidewhois feature that allows hiding of server name in whois ↵brain
with arbitary string like '*.network.net' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3034 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-29"Oper of unknown type" -> "313 %s %s :is an IRC operator"brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2972 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-27Improved IP handling. Now uses in_addr to store client ip, not char[16]!brain
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
2006-01-15CleanFilename movagebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2807 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15Updated copyrights in headers etc using perl inplace editbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-11Changed fd_ref_table from 65536 to more correct MAX_DESCRIPTORSbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2769 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29Fixed an extremely n00bish mistake involving referencing a global copy of ↵brain
ServerEngine when we now use one local to class InspIRCd (everyone point and laugh at Brain) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2692 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26Adding hook type checking to event calls to speed them upbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Split all commands into seperate files and redid command system to take ↵brain
classes, not function pointers (function pointers suck ass) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2534 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Moved serverstats stuff outbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2529 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Moved SocketEngine* SE into InspIRCd classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2527 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16So many inclusion loops it makes your head spin - forward declaring tons of ↵brain
classes to fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2523 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Moved ModeGrok and Parser into InspIRCd classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2522 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Fixed to use CommandParserbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2515 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Moved more command parsing stuff to CommandParserbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2514 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Changing stuff to using CommandParser classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2511 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Moved command_parse functions into class CommandParserbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2510 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Moved command parsing crap into command_parse.cppbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2505 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Added 'local users' vectorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2489 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Fixed typo in shorthand ifbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2487 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Re-introduced 3-line function CleanFilenamebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2486 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Full removal of inspircd_util.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2485 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Removed code weirdness in handle_invitebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2473 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Changed InviteTo to use irc::stringbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2471 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Moved a ton of user related functions from inspircd.cpp to users.cppbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2468 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Moved ModuleError()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2453 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Removed ip cache craq++brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2446 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Fixed handle_*modulebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2445 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Code tidyingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2440 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Craq removal at your servicebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2437 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14craq--brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2436 e03df62e-2008-0410-955e-edbf42e46eb7