summaryrefslogtreecommitdiff
path: root/src/channels.cpp
Commit message (Expand)AuthorAgeFilesLines
* Renamed to chanrec::modes•••Renamed IsCustomModeSet to IsModeSet GetModeParameter will now return the channel limit (as a string) for a request for mode 'l' and the channel key for a request for mode 'k'. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3692 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-121-10/+21
* *NEEDS TESTING* changed binarymodes to use the custom_modes entries•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3691 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-121-3/+4
* Only calculate the names list when a local user joins (this was being calcula...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3652 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-7/+10
* Fixed to use iterators•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3580 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-10/+10
* Probably wont compile yet - purge_empty_channels refactor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3579 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-30/+25
* Removed has_channel(userrec*,chanrec*), the new preferred way of doing it is ...•••Yeah its the other way around to the old way, but somehow, seems less backwards to me (its also faster) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3560 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-081-34/+31
* Got rid of all that ugly char* cast crap (todo: change docs to reflect change)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3556 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-081-22/+22
* Actually, 64.•••(256-64-128) = 64 chars printable alphabet (roughly) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3552 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-081-1/+1
* chanrec::custom_modes only needs 96 values not 190•••(256 - 32 - 128) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3551 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-081-1/+1
* *TEST CODE* Faster custom mode set/unset•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3508 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-64/+19
* Mode-code rewrite. Might act weird, needs proper testing (that is what svn bu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3474 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-24/+4
* De-uglified chanrec::SetCustomMode -- no strlcat, no std::string, just some v...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3415 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-021-14/+48
* Typo found by gcc 4 warnings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3325 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-251-1/+1
* Oh yae, Oh Yae, back in old days of yore, Ye Brain doth set the nick buffer a...•••And yae, at a date later hence, Ye Brain then setteth ye buffer back to NICKLEN again. Alas, neither Ye Brain nor Ye trusty followers hath then setteth back the rest of the core to NICKLEN-1, and verily, chaos ensued. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3286 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-221-1/+1
* Tests for channel ghosting?•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3276 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-211-0/+21
* Moved custom_mode_params to per-channel•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-151-2/+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-1/+1
* - Fixed some HORRIBLE indenting. Tabs, please.•••- 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 Gravatar w00t2006-02-151-344/+363
* Fixed cosmetic 'need to be halfop to change modes' when kicking•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3138 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-081-1/+1
* Match bans against user::ip4 in add_channel•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3134 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-081-1/+1
* Potential fix for CS Testnet bug, thanks to Special for helping with this one.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3133 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-02-081-1/+1
* Re-organized order of cmd_kick stuff (OnUserPreKick) to make override kicks w...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3085 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-051-26/+31
* Bugfix #69•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3058 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-031-4/+4
* Tidyup op/halfop/voice list on part/quit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3054 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-031-4/+4
* Typo fix #1•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3048 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-031-1/+1
* This probably wont compile atm - add support for prefixed messages•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3046 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-031-0/+70
* Only access-check local user kicks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3008 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-02-011-39/+43
* Made bans check both real and fake host•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2873 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-231-1/+1
* Fixes to make server kicks work•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2831 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-2/+2
* Added facility for servers to send KICK message (ew, i hate this crap)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2830 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-221-5/+46
* Added OnChannelDelete() method (called on KICK, PART or QUIT where a channel ...•••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 Gravatar brain2006-01-221-0/+2
* strncpy sucks ass! -- Old code was using strncpy which doesnt null terminate ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2817 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-181-3/+4
* Added support for part messages in the module API (and therefore between serv...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2815 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-171-1/+2
* 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 channel user lists from vector to map•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2780 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-01-121-9/+7
* Fixed broken checks to allow overriding•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2707 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-301-1/+1
* 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-11/+11
* Optimized out strcpys that copy empty strings (craq++)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2637 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-221-1/+1
* Improved efficiency of chanrec constructor (removed strcpys)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2633 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-221-7/+2
* Full removal of inspircd_util.h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2485 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-151-1/+0
* Fixed to use irc::string now for invite functions•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2470 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-151-3/+4
* Code tidying•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2440 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-141-4/+0
* Tidying of stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2427 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-141-0/+2
* Fixing move of *_channel functions to here•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2423 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-141-1/+4
* Moved add_channel, del_channel, kick_channel to channels.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2422 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-141-0/+355
* Started moving of data into ServerConfig class•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-141-30/+2
* Removal of some trivial debug output•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2355 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-121-2/+1
* Fixes for removal of serverrec•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1946 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-11-251-5/+1
* Removed references to deprecated files servers.* and connection.*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1941 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-11-251-2/+0
* Fixed fd_Setsize in cygwin•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1541 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-05-281-1/+1