summaryrefslogtreecommitdiff
path: root/src/mode.cpp
AgeCommit message (Collapse)Author
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
2005-05-28Fixed fd_Setsize in cygwinbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1541 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-16Removed __single_client_alloc again because gcc devs were smoking crack and ↵brain
removed it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1406 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Changed to use __single_client_alloc, faster on most systems in a single threadbrain
Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15sorted hashcomp etcbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1387 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Moved a ton of functions into helperfuncs.h to speed up recompilesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-12Structure optimizations, changed a lot of bools into binary bitmasksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1368 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-09Fixes to way allocations are handledbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1346 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-04Fix to a mode parsing bug (eating wrong version of parameter?)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1304 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-03Fixed empty modes from nickservbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1294 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-02Fix to prevent empty umodesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1283 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-30Added OnAddBan and OnDelBan module api calls, and fixed glitch which ↵brain
required them in m_timedbans module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1267 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-30Added mode 'compression', stops abuse with modes like: +s-s+s-s+s-sbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1266 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-27Quote of the day: some strlens are needed.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1221 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-27Fixes to all kinds of annoying problemsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1220 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-27No suck nickname?! why didn't anyone see this?!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1215 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-27Optimized modes (removed strlens etc)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1211 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-27Fixed empty modes issue that emerged after dodgy code was correctedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1210 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-27Added explicit oper tracking in a vector of userrec* pointers, optimizes ↵brain
sending out oper notices git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1209 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-26Major code tidyup (-W) - expect a few belchesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1190 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-23Added global oper monitoring through modules and global connect monitoring ↵brain
through modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1177 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-18Fixed strange join behavior reported by w00t (mirc requesting MODE ↵brain
immediately after JOIN) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1116 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-16Added a chanrec to OnRawMode, om pointed out i hadnt given him it :Dbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1108 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-15Added new API methods:brain
int Module::OnRawMode(userrec* user, char mode, std::string param, bool adding, int pcnt); int Module::OnCheckInvite(userrec* user, chanrec* chan); int Module::OnCheckKey(userrec* user, chanrec* chan, std::string keygiven); int Module::OnCheckLimit(userrec* user, chanrec* chan); int Module::OnCheckBan(userrec* user, chanrec* chan); void Module::OnStats(char symbol); int Module::OnChangeLocalUserHost(userrec* user, std::string newhost); int Module::OnChangeLocalUserGECOS(userrec* user, std::string newhost); int Module::OnLocalTopicChange(userrec* user, chanrec* chan, std::string topic); git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1105 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-13Added Module::OnSendListbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1072 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-13Double 367 numeric glitch fixedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1067 e03df62e-2008-0410-955e-edbf42e46eb7