summaryrefslogtreecommitdiff
path: root/src/mode.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Key hiding when youre not on the channelGravatar brain2006-01-311-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2998 e03df62e-2008-0410-955e-edbf42e46eb7
* Problems removing +t due to wrong bit-value being used in comparisonGravatar brain2006-01-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2931 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed +l to drop the mode if the limit is same as current.Gravatar brain2006-01-251-3/+4
| | | | | | | Optimized check on numeric chars git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2908 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed all strncpy() calls and replaced with strlcpy()Gravatar brain2006-01-181-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2818 e03df62e-2008-0410-955e-edbf42e46eb7
* Bug found by PinkFreud - If an oper deopers themselves by removing the +o ↵Gravatar brain2006-01-151-0/+3
| | | | | | 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
* 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
* Nicer mode character loopGravatar brain2006-01-041-34/+34
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2731 e03df62e-2008-0410-955e-edbf42e46eb7
* Revise some serious craq++ in AddBanGravatar w00t2006-01-041-17/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2730 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed useless isnick() checks in Give* and Take*, in the name of tidinessGravatar brain2005-12-281-43/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2683 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed support for implementation hooksGravatar brain2005-12-261-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2654 e03df62e-2008-0410-955e-edbf42e46eb7
* Adding hook type checking to event calls to speed them upGravatar brain2005-12-261-36/+36
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow halfop to dehalfop themselves`Gravatar brain2005-12-261-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2652 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimized out strcpys that copy empty strings (craq++)Gravatar brain2005-12-221-5/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2637 e03df62e-2008-0410-955e-edbf42e46eb7
* Split all commands into seperate files and redid command system to take ↵Gravatar brain2005-12-161-1/+1
| | | | | | classes, not function pointers (function pointers suck ass) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2534 e03df62e-2008-0410-955e-edbf42e46eb7
* So many inclusion loops it makes your head spin - forward declaring tons of ↵Gravatar brain2005-12-161-0/+1
| | | | | | classes to fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2523 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved ModeGrok and Parser into InspIRCd classGravatar brain2005-12-161-14/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2522 e03df62e-2008-0410-955e-edbf42e46eb7
* GROK!Gravatar brain2005-12-161-41/+42
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2521 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved mode stuff into modeparserGravatar brain2005-12-161-405/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2520 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
* Moved include stack stuff to be private to ServerConfigGravatar brain2005-12-141-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2410 e03df62e-2008-0410-955e-edbf42e46eb7
* Moving more stuff into class ServerConfigGravatar brain2005-12-141-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2394 e03df62e-2008-0410-955e-edbf42e46eb7
* Started moving of data into ServerConfig classGravatar brain2005-12-141-19/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2393 e03df62e-2008-0410-955e-edbf42e46eb7
* Made MAXCHANS growable for opers/ulines (growing of list not implemented yet)Gravatar brain2005-12-131-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2367 e03df62e-2008-0410-955e-edbf42e46eb7
* Added ability for ulined servers to set any arbitary channel mode (even from ↵Gravatar brain2005-12-021-1/+1
| | | | | | outside the channel) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2113 e03df62e-2008-0410-955e-edbf42e46eb7
* Changes to allow ulined servers to set any modeGravatar brain2005-12-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2112 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed mode stuffGravatar brain2005-11-291-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2016 e03df62e-2008-0410-955e-edbf42e46eb7
* Added opertype to OnOper and added OnMode functionGravatar brain2005-11-291-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2010 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for removal of serverrecGravatar brain2005-11-251-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1946 e03df62e-2008-0410-955e-edbf42e46eb7
* Removal of mesh stuff (lots of)Gravatar brain2005-11-251-16/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1938 e03df62e-2008-0410-955e-edbf42e46eb7
* Many linking fixesGravatar brain2005-06-011-14/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1578 e03df62e-2008-0410-955e-edbf42e46eb7
* Started on -Wall - safe compileGravatar brain2005-05-301-35/+34
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed a strcpy to strlcpyGravatar brain2005-05-291-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1549 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed length of user::modes buffer from 512 to much more sensible 54Gravatar brain2005-05-291-10/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1548 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-3/+3
| | | | | | 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-5/+5
| | | | | | | 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-8/+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
* Structure optimizations, changed a lot of bools into binary bitmasksGravatar brain2005-05-121-53/+75
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1368 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to way allocations are handledGravatar brain2005-05-091-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1346 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to a mode parsing bug (eating wrong version of parameter?)Gravatar brain2005-05-041-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1304 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed empty modes from nickservGravatar brain2005-05-031-6/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1294 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to prevent empty umodesGravatar brain2005-05-021-13/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1283 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnAddBan and OnDelBan module api calls, and fixed glitch which ↵Gravatar brain2005-04-301-0/+9
| | | | | | required them in m_timedbans module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1267 e03df62e-2008-0410-955e-edbf42e46eb7
* Added mode 'compression', stops abuse with modes like: +s-s+s-s+s-sGravatar brain2005-04-301-6/+78
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1266 e03df62e-2008-0410-955e-edbf42e46eb7
* Quote of the day: some strlens are needed.Gravatar brain2005-04-271-10/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1221 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to all kinds of annoying problemsGravatar brain2005-04-271-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1220 e03df62e-2008-0410-955e-edbf42e46eb7
* No suck nickname?! why didn't anyone see this?!Gravatar brain2005-04-271-15/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1215 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimized modes (removed strlens etc)Gravatar brain2005-04-271-74/+93
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1211 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed empty modes issue that emerged after dodgy code was correctedGravatar brain2005-04-271-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1210 e03df62e-2008-0410-955e-edbf42e46eb7