summaryrefslogtreecommitdiff
path: root/src/channels.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Moved custom_mode_params to per-channelGravatar brain2006-02-151-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3223 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-1/+1
| | | | | | *user->oper git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3221 e03df62e-2008-0410-955e-edbf42e46eb7
* - Fixed some HORRIBLE indenting. Tabs, please.Gravatar w00t2006-02-151-344/+363
| | | | | | | | - Fixed channel keys being case insensetive. - Added a 'XXX' fixme. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3214 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed cosmetic 'need to be halfop to change modes' when kickingGravatar brain2006-02-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3138 e03df62e-2008-0410-955e-edbf42e46eb7
* Match bans against user::ip4 in add_channelGravatar brain2006-02-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3134 e03df62e-2008-0410-955e-edbf42e46eb7
* Potential fix for CS Testnet bug, thanks to Special for helping with this one.Gravatar w00t2006-02-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3133 e03df62e-2008-0410-955e-edbf42e46eb7
* Re-organized order of cmd_kick stuff (OnUserPreKick) to make override kicks ↵Gravatar brain2006-02-051-26/+31
| | | | | | work nicer git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3085 e03df62e-2008-0410-955e-edbf42e46eb7
* Bugfix #69Gravatar brain2006-02-031-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3058 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup op/halfop/voice list on part/quitGravatar brain2006-02-031-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3054 e03df62e-2008-0410-955e-edbf42e46eb7
* Typo fix #1Gravatar brain2006-02-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3048 e03df62e-2008-0410-955e-edbf42e46eb7
* This probably wont compile atm - add support for prefixed messagesGravatar brain2006-02-031-0/+70
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3046 e03df62e-2008-0410-955e-edbf42e46eb7
* Only access-check local user kicksGravatar brain2006-02-011-39/+43
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3008 e03df62e-2008-0410-955e-edbf42e46eb7
* Made bans check both real and fake hostGravatar brain2006-01-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2873 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to make server kicks workGravatar brain2006-01-221-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2831 e03df62e-2008-0410-955e-edbf42e46eb7
* Added facility for servers to send KICK message (ew, i hate this crap)Gravatar brain2006-01-221-5/+46
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2830 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnChannelDelete() method (called on KICK, PART or QUIT where a channel ↵Gravatar brain2006-01-221-0/+2
| | | | | | | | | 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
* strncpy sucks ass! -- Old code was using strncpy which doesnt null terminate ↵Gravatar brain2006-01-181-3/+4
| | | | | | a string if the string fills a buffer (!!!) - our strlcpy implementation fixes this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2817 e03df62e-2008-0410-955e-edbf42e46eb7
* Added support for part messages in the module API (and therefore between ↵Gravatar brain2006-01-171-1/+2
| | | | | | servers too) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2815 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-9/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2780 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed broken checks to allow overridingGravatar brain2005-12-301-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2707 e03df62e-2008-0410-955e-edbf42e46eb7
* Adding hook type checking to event calls to speed them upGravatar brain2005-12-261-11/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimized out strcpys that copy empty strings (craq++)Gravatar brain2005-12-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2637 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved efficiency of chanrec constructor (removed strcpys)Gravatar brain2005-12-221-7/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2633 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
* Fixed to use irc::string now for invite functionsGravatar brain2005-12-151-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2470 e03df62e-2008-0410-955e-edbf42e46eb7
* Code tidyingGravatar brain2005-12-141-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2440 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidying of stuffGravatar brain2005-12-141-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2427 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixing move of *_channel functions to hereGravatar brain2005-12-141-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2423 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved add_channel, del_channel, kick_channel to channels.cppGravatar brain2005-12-141-0/+355
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2422 e03df62e-2008-0410-955e-edbf42e46eb7
* Started moving of data into ServerConfig classGravatar brain2005-12-141-30/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7
* Removal of some trivial debug outputGravatar brain2005-12-121-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2355 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for removal of serverrecGravatar brain2005-11-251-5/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1946 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed references to deprecated files servers.* and connection.*Gravatar brain2005-11-251-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1941 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed fd_Setsize in cygwinGravatar brain2005-05-281-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1541 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed __single_client_alloc again because gcc devs were smoking crack and ↵Gravatar brain2005-05-161-8/+8
| | | | | | removed it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1406 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to use __single_client_alloc, faster on most systems in a single threadGravatar brain2005-05-151-11/+10
| | | | | | | Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
* sorted hashcomp etcGravatar brain2005-05-151-6/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1387 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved a ton of functions into helperfuncs.h to speed up recompilesGravatar brain2005-05-151-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed the type of struct whowas records are stored in (no need to waste a ↵Gravatar brain2005-05-121-8/+0
| | | | | | big heavy userrec) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1369 e03df62e-2008-0410-955e-edbf42e46eb7
* Structure optimizations, changed a lot of bools into binary bitmasksGravatar brain2005-05-121-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1368 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed weird bug where on mass join/part flood, the channel would beGravatar brain2005-05-111-6/+1
| | | | | | | purged before it was actually empty due to its counters being screwed up git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1360 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to way allocations are handledGravatar brain2005-05-091-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1346 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed the final bunch of udp_* vars to server_*/tcp_*Gravatar brain2005-05-081-1/+1
| | | | | | | Fixed ircservices sending PING git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1326 e03df62e-2008-0410-955e-edbf42e46eb7
* Added /stats TGravatar brain2005-05-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1280 e03df62e-2008-0410-955e-edbf42e46eb7
* Major *MAJOR* optimizations by double-referencing channels to usersGravatar brain2005-04-261-0/+26
| | | | | | | (never need to scan the entire user hash again except in very rare circumstances) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1197 e03df62e-2008-0410-955e-edbf42e46eb7
* Added channel 'counter', increases speed of quits, parts, kicksGravatar brain2005-04-261-1/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1194 e03df62e-2008-0410-955e-edbf42e46eb7
* Major optimizations!Gravatar brain2005-04-051-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@982 e03df62e-2008-0410-955e-edbf42e46eb7
* Added implementation of strlcpy and strlcat for systems that dont have itGravatar brain2005-03-251-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@905 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed occurances of vector to std::vectorGravatar brain2005-03-251-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@900 e03df62e-2008-0410-955e-edbf42e46eb7