summaryrefslogtreecommitdiff
path: root/src/mode.cpp
AgeCommit message (Collapse)Author
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
2005-04-05Major optimizations!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@982 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-04Added new <banlist> tags, allows dynamic banlist sizes on a per channel basisbrain
rather than hard coded or network wide git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@973 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-03Fixes to crash when setting the key of a channel youre not a member ofbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@965 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-03Fix to bug #36 reported by Yetibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@962 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-25Added implementation of strlcpy and strlcat for systems that dont have itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@905 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-25Changed occurances of vector to std::vectorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@900 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-24Finally fixed a load of umode change stuff!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@897 e03df62e-2008-0410-955e-edbf42e46eb7
2004-09-11Changes for security based on RATS analysisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@856 e03df62e-2008-0410-955e-edbf42e46eb7
2004-09-11Security audit based on RATS outputbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@855 e03df62e-2008-0410-955e-edbf42e46eb7
2004-07-17Added support for 472 numeric (Unknown mode char) - typobox43typobox43
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@843 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-24Fixed perplexing bug in custom mode removal (apparent with +C and +c)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@829 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-16Updated header commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@816 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-09Fixed m_redirect.so which was claiming every mode that came its way!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@803 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-02Added oper-override modulebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@779 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-01Added Module::OnAccessCheckbrain
Added ListMode support Fixed Extensible class bug git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@759 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-29Made the allowhalfop in <options> tag actually workbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@748 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-26Fixed bug #15 - mode case sensitivity issue in mirc (glitch reported by ↵brain
strike and mentality) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@740 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-25Mode +l fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@722 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-25XLine fixes and fix to +l with large limitsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@721 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-24Added XLine stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@712 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-22Added tons of services/uline stuff. DO NOT USE YET! services data isnt ↵brain
replicated across the network! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@688 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-19Added namespace std to these new files to avoid gcc3 problemsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@669 e03df62e-2008-0410-955e-edbf42e46eb7