aboutsummaryrefslogtreecommitdiffstats
path: root/include/mode.h
Commit message (Expand)AuthorAgeFilesLines
...
* Mode +b stuff, probably wont work yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4133 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-071-2/+0
* Aaaand, correct all the obligitary typos•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4129 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-071-1/+1
* Added masking stuff.•••Basically, so that we can hold user modes and channel modes in the same list, we use bitwise masking. We have a list of handlers, 256 in size 0 through 255, and to work out where a mode handler is dependent on WHAT it is, we use this simple hashing algorithm (no collisions can occur): (modeletter - 65) | mask Where mask is 128 (10000000b) if its a user mode, or 0 (00000000b, duh) if its a channel mode. Smart, and much faster than using a map of pairs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4128 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-071-2/+9
* Mode parser WORKS! (for simple non-parameterized channel modes)•••Tested with channel mode +s. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4126 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-071-5/+1
* Header for cmode_s.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4124 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-071-0/+2
* Typedef an ugly iterator, dont send mode string if no modes were in the outpu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3867 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-0/+2
* More fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3863 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-2/+3
* Extra allowance for modes which have different number of params when being se...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3858 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-3/+4
* Start of new mode parser•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3857 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-101-2/+13
* Om's way is better and lets watchers change mode parameters for the modes the...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3856 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-091-13/+2
* Start of mode parser refactoring•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3855 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-091-0/+60
* Undo me screwing stuff up•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3797 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-021-3/+0
* Add amd64/linux to list of OS'es tested, but mainly CIA test :P•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3796 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-021-0/+3
* UM_WALLOPS had value 3 which was a combination of UM_SERVERNOTICE and UM_INVI...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3591 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-1/+1
* Added userrec::modebits - fast way of checking if user has +swi rather than a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3588 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-091-0/+6
* Tidied up give/take methods•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3482 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-061-0/+3
* 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
* Split all commands into seperate files and redid command system to take class...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2534 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-161-2/+7
* GROK!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2521 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-161-2/+2
* Moved mode stuff into modeparser•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2520 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-161-14/+19
* Tidied up inspircd.h•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2421 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2005-12-141-1/+1
* Test change to verify security settings on brainbox allow me to commit to cvs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@831 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2004-05-281-1/+0
* Updated header comments•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@816 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2004-05-161-0/+16
* Fixed bug #15 - mode case sensitivity issue in mirc (glitch reported by strik...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@740 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2004-04-261-8/+8
* added mode.h/mode.cpp and seperated mode functions into it•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@666 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2004-04-191-0/+33