summaryrefslogtreecommitdiff
path: root/src/commands.cpp
Commit message (Collapse)AuthorAgeFilesLines
* const referencesGravatar brain2006-03-101-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3624 e03df62e-2008-0410-955e-edbf42e46eb7
* Whowas refactor - probably wont compile yetGravatar brain2006-03-071-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3523 e03df62e-2008-0410-955e-edbf42e46eb7
* is_uline was an inefficient piece of crap - fixed.Gravatar brain2006-03-021-12/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3428 e03df62e-2008-0410-955e-edbf42e46eb7
* Made extensive use of charlcat to cut down on strlcat usageGravatar brain2006-03-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3417 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed a whole lot of strchr's looking for mode +o where we can do if ↵Gravatar brain2006-02-151-10/+3
| | | | | | *user->oper git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3221 e03df62e-2008-0410-955e-edbf42e46eb7
* - Made some notes about potentially restructuring things a bitGravatar w00t2006-02-151-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3217 e03df62e-2008-0410-955e-edbf42e46eb7
* Added ircu-like hidewhois feature that allows hiding of server name in whois ↵Gravatar brain2006-02-031-1/+8
| | | | | | with arbitary string like '*.network.net' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3034 e03df62e-2008-0410-955e-edbf42e46eb7
* "Oper of unknown type" -> "313 %s %s :is an IRC operator"Gravatar brain2006-01-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2972 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved IP handling. Now uses in_addr to store client ip, not char[16]!Gravatar brain2006-01-271-2/+2
| | | | | | | | 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
* CleanFilename movageGravatar brain2006-01-151-6/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2807 e03df62e-2008-0410-955e-edbf42e46eb7
* Updated copyrights in headers etc using perl inplace editGravatar brain2006-01-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed fd_ref_table from 65536 to more correct MAX_DESCRIPTORSGravatar brain2006-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2769 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed an extremely n00bish mistake involving referencing a global copy of ↵Gravatar brain2005-12-291-1/+0
| | | | | | | | | 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
* Adding hook type checking to event calls to speed them upGravatar brain2005-12-261-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7
* Split all commands into seperate files and redid command system to take ↵Gravatar brain2005-12-161-1710/+1
| | | | | | classes, not function pointers (function pointers suck ass) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2534 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved serverstats stuff outGravatar brain2005-12-161-8/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2529 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved SocketEngine* SE into InspIRCd classGravatar brain2005-12-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2527 e03df62e-2008-0410-955e-edbf42e46eb7
* So many inclusion loops it makes your head spin - forward declaring tons of ↵Gravatar brain2005-12-161-5/+5
| | | | | | classes to fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2523 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved ModeGrok and Parser into InspIRCd classGravatar brain2005-12-161-10/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2522 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed to use CommandParserGravatar brain2005-12-161-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2515 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved more command parsing stuff to CommandParserGravatar brain2005-12-161-6/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2514 e03df62e-2008-0410-955e-edbf42e46eb7
* Changing stuff to using CommandParser classGravatar brain2005-12-161-7/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2511 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved command_parse functions into class CommandParserGravatar brain2005-12-161-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2510 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved command parsing crap into command_parse.cppGravatar brain2005-12-161-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2505 e03df62e-2008-0410-955e-edbf42e46eb7
* Added 'local users' vectorGravatar brain2005-12-151-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2489 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed typo in shorthand ifGravatar brain2005-12-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2487 e03df62e-2008-0410-955e-edbf42e46eb7
* Re-introduced 3-line function CleanFilenameGravatar brain2005-12-151-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2486 e03df62e-2008-0410-955e-edbf42e46eb7
* Full removal of inspircd_util.hGravatar brain2005-12-151-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2485 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed code weirdness in handle_inviteGravatar brain2005-12-151-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2473 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed InviteTo to use irc::stringGravatar brain2005-12-151-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2471 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved a ton of user related functions from inspircd.cpp to users.cppGravatar brain2005-12-151-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2468 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved ModuleError()Gravatar brain2005-12-141-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2453 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed ip cache craq++Gravatar brain2005-12-141-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2446 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed handle_*moduleGravatar brain2005-12-141-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2445 e03df62e-2008-0410-955e-edbf42e46eb7
* Code tidyingGravatar brain2005-12-141-5/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2440 e03df62e-2008-0410-955e-edbf42e46eb7
* Craq removal at your serviceGravatar brain2005-12-141-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2437 e03df62e-2008-0410-955e-edbf42e46eb7
* craq--Gravatar brain2005-12-141-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2436 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed to use new methods of ServerConfigGravatar brain2005-12-141-22/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2414 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved include stack stuff to be private to ServerConfigGravatar brain2005-12-141-6/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2410 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved readconfig to serverconfig classGravatar brain2005-12-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2408 e03df62e-2008-0410-955e-edbf42e46eb7
* Added config_f to serverconfig, UNTESTEDGravatar brain2005-12-141-27/+23
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2402 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidied up modules.h added some typedefs to typedefs.hGravatar brain2005-12-141-7/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2401 e03df62e-2008-0410-955e-edbf42e46eb7
* moved declarations of typedefs for user_hash and chan_hash etc to typedefs.hGravatar brain2005-12-141-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2400 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved tons of stuff into class ServerConfigGravatar brain2005-12-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2395 e03df62e-2008-0410-955e-edbf42e46eb7
* Moving more stuff into class ServerConfigGravatar brain2005-12-141-29/+29
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2394 e03df62e-2008-0410-955e-edbf42e46eb7
* Started moving of data into ServerConfig classGravatar brain2005-12-141-33/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7
* Half way through updating to move a ton of extern confs into class ServerConfigGravatar brain2005-12-141-8/+8
| | | | | | | WILL NOT RUN ATM git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2392 e03df62e-2008-0410-955e-edbf42e46eb7
* Added parameter to apply_lines to indicate what we want to applyGravatar brain2005-12-141-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2391 e03df62e-2008-0410-955e-edbf42e46eb7
* #define IS_LOCAL(x) (x->fd > -1)Gravatar brain2005-12-131-1/+1
| | | | | | | | #define IS_REMOTE(x) (x->fd < 0) #define IS_MODULE_CREATED(x) (x->fd == FD_MAGIC_NUMBER) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2386 e03df62e-2008-0410-955e-edbf42e46eb7
* optimized a ton of strcmps down to an integer comparison!Gravatar brain2005-12-131-10/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2385 e03df62e-2008-0410-955e-edbf42e46eb7