summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Key hiding when youre not on the channelGravatar brain2006-01-311-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2998 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimized WriteServ - why use %s!%s@%s when we have the more optimal ↵Gravatar brain2006-01-311-4/+4
| | | | | | userrec::GetFullHost() ? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2997 e03df62e-2008-0410-955e-edbf42e46eb7
* Add InsertMode function to helperfuncs.(cpp|h) for easily adding modes to ↵Gravatar om2006-01-251-0/+23
| | | | | | the CHANMODES section of the 005 numeric git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2897 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnChannelDelete() method (called on KICK, PART or QUIT where a channel ↵Gravatar brain2006-01-221-0/+3
| | | | | | | | | is deleted for cleanup of metadata) Added m_messageflood.so (not yet finished, do not use yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2826 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 channel user lists from vector to mapGravatar brain2006-01-121-51/+39
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2780 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed fd_ref_table from 65536 to more correct MAX_DESCRIPTORSGravatar brain2006-01-111-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2769 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to typos and change to return by reference on GetClassGravatar brain2006-01-011-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2725 e03df62e-2008-0410-955e-edbf42e46eb7
* Changes to how classes are looked up (connects slightly faster) and fix for ↵Gravatar brain2006-01-011-18/+3
| | | | | | case sensitive passwords git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2723 e03df62e-2008-0410-955e-edbf42e46eb7
* More removal of formatting where its not neccessary x("%s",str) == bad!Gravatar brain2005-12-291-8/+182
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2704 e03df62e-2008-0410-955e-edbf42e46eb7
* Attempt to cut out unneccessary printf() va_args voodoo (ugleh)Gravatar brain2005-12-291-99/+154
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2703 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimizing to not use so much cpu with high user loadsGravatar brain2005-12-291-3/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2691 e03df62e-2008-0410-955e-edbf42e46eb7
* Adding hook type checking to event calls to speed them upGravatar brain2005-12-261-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed two fields in ConnectClass to strings, moved constructor stuff to ↵Gravatar brain2005-12-221-3/+3
| | | | | | init-list git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2632 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed debugGravatar brain2005-12-191-6/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2566 e03df62e-2008-0410-955e-edbf42e46eb7
* SSL is a fucking mess.Gravatar brain2005-12-191-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2565 e03df62e-2008-0410-955e-edbf42e46eb7
* Added IOHookModule stuff to allow for different modules to hook different portsGravatar brain2005-12-181-9/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2564 e03df62e-2008-0410-955e-edbf42e46eb7
* Missing externGravatar brain2005-12-161-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2532 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved serverstats stuff outGravatar brain2005-12-161-5/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2529 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved more command parsing stuff to CommandParserGravatar brain2005-12-161-74/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2514 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed warningGravatar brain2005-12-161-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2502 e03df62e-2008-0410-955e-edbf42e46eb7
* Some things just cant be static...Gravatar brain2005-12-161-7/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2501 e03df62e-2008-0410-955e-edbf42e46eb7
* Moving to faster way of hooking i/oGravatar brain2005-12-161-11/+34
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2499 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed syscalls in log, moved va* buffers to static charGravatar brain2005-12-161-19/+21
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2498 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimized away a memset made it potentially 10x fasterGravatar brain2005-12-161-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2497 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
* Optimized helperfuncsGravatar brain2005-12-151-110/+41
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2482 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved pointer voodoo in chanmodes(), many less strlcatsGravatar brain2005-12-151-38/+21
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2481 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved some other stuff into ServerConfigGravatar brain2005-12-141-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2416 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved include stack stuff to be private to ServerConfigGravatar brain2005-12-141-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2410 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed reference to RULESGravatar brain2005-12-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2407 e03df62e-2008-0410-955e-edbf42e46eb7
* More references to RULES and MOTDGravatar brain2005-12-141-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2406 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed deprecated direct reference to file_cache MOTD, RULESGravatar brain2005-12-141-10/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2405 e03df62e-2008-0410-955e-edbf42e46eb7
* Added config_f to serverconfig, UNTESTEDGravatar brain2005-12-141-4/+3
| | | | 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-4/+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-21/+21
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2395 e03df62e-2008-0410-955e-edbf42e46eb7
* Started moving of data into ServerConfig classGravatar brain2005-12-141-10/+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-3/+1
| | | | | | | WILL NOT RUN ATM git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2392 e03df62e-2008-0410-955e-edbf42e46eb7
* #define IS_LOCAL(x) (x->fd > -1)Gravatar brain2005-12-131-2/+2
| | | | | | | | #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-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2385 e03df62e-2008-0410-955e-edbf42e46eb7
* Modified channel joining to allow > MAXCHANS for opers/remote (when complete)Gravatar brain2005-12-131-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2368 e03df62e-2008-0410-955e-edbf42e46eb7
* Made MAXCHANS growable for opers/ulines (growing of list not implemented yet)Gravatar brain2005-12-131-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2367 e03df62e-2008-0410-955e-edbf42e46eb7
* More old /map code removal, removed stuff from headersGravatar w00t2005-12-131-10/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2365 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed old /map codeGravatar w00t2005-12-131-5/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2364 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed some remnants from mesh linkingGravatar w00t2005-12-131-10/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2363 e03df62e-2008-0410-955e-edbf42e46eb7
* Added notice-to-servermaskGravatar brain2005-12-041-0/+40
| | | | | | | Added ability to output 'is an oper but i dont know what type' in WHOIS git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2152 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed usercounts to not screw up on remote usersGravatar brain2005-12-041-5/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2144 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnGetServerDescription (mainly for link modules)Gravatar brain2005-11-301-1/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2056 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for removal of serverrecGravatar brain2005-11-251-49/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1946 e03df62e-2008-0410-955e-edbf42e46eb7