summaryrefslogtreecommitdiff
path: root/src/mode.cpp
AgeCommit message (Collapse)Author
2006-03-06Mode-code rewrite. Might act weird, needs proper testing (that is what svn ↵brain
builds are for, after all) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3474 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-04Fix for bug first noticed by zephyrus where you could send -j+ntr to a ↵brain
channel which has +ntrj, and see the mode change "-j+" - now strips off any trailing + or - chars git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3458 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-03Fix for MODE #chan +o- nick or +o-- nick, etcbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3443 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02Typosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3439 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02Added IS_SINGLE, see comment in include/inspircd.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3438 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02Made host fields more correct 64 in length with 63 copiesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3425 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-26Valgrind fixes (libstdc++ is broken! :O)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3354 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Valgrind fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3353 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22Oh yae, Oh Yae, back in old days of yore, Ye Brain doth set the nick buffer ↵brain
as NICKLEN+1 to ease understanding by newbs who didnt know what thou null terminator was. 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
2006-02-21Its true i cant count! :P this one i spotted in testing.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3282 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21MAXMODES wasn't being enforcedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3279 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-07Typo (oops)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3116 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-06Allow remote bans from servers to be represented as servers in the banlistbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3113 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-06Removed some debug notices that were mistakenly in the DEFAULT loglevelbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3112 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03This probably wont compile atm - add support for prefixed messagesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3046 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-01Should always allow remote modechanges (FJOIN not effected as its not sent ↵brain
as a MODE) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3007 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-31Key hiding when youre not on the channelbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2998 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-27Problems removing +t due to wrong bit-value being used in comparisonbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2931 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25Changed +l to drop the mode if the limit is same as current.brain
Optimized check on numeric chars git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2908 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-18Removed all strncpy() calls and replaced with strlcpy()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2818 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15Bug found by PinkFreud - If an oper deopers themselves by removing the +o ↵brain
mode, their userrec::oper field isnt cleared. Clear it forcibly before DeleteOper. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2796 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-04Nicer mode character loopbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2731 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-04Revise some serious craq++ in AddBanw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2730 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-28Removed useless isnick() checks in Give* and Take*, in the name of tidinessbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2683 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26Fixed support for implementation hooksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2654 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-26Allow halfop to dehalfop themselves`brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2652 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22Optimized out strcpys that copy empty strings (craq++)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2637 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-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-16GROK!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2521 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Moved mode stuff into modeparserbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2520 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-14Moved include stack stuff to be private to ServerConfigbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2410 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Moving more stuff into class ServerConfigbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2394 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14Started moving of data into ServerConfig classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-13Made MAXCHANS growable for opers/ulines (growing of list not implemented yet)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2367 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-02Added ability for ulined servers to set any arbitary channel mode (even from ↵brain
outside the channel) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2113 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-02Changes to allow ulined servers to set any modebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2112 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-29Fixed mode stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2016 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-29Added opertype to OnOper and added OnMode functionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2010 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-25Fixes for removal of serverrecbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1946 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-25Removal of mesh stuff (lots of)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1938 e03df62e-2008-0410-955e-edbf42e46eb7
2005-06-01Many linking fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1578 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-30Started on -Wall - safe compilebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-29Changed a strcpy to strlcpybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1549 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-29Changed length of user::modes buffer from 512 to much more sensible 54brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1548 e03df62e-2008-0410-955e-edbf42e46eb7