summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-07-09Port to new apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4225 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Port to new API (last mode that has akward parameters done, yay!)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4224 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Port to new APIbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4223 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Fixed for new APIbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4222 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Fixed for new apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4221 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Fix to compile (we had never got this far to find out if it did)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4220 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Fix for new APIbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4219 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Fixed m_globops for new apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4218 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Gah, im forgetting to SetMode!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4217 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Fixed sslmodesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4216 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Updates to new APIom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4215 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Stripcolor completedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4214 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Stripcolor not finished yet.brain
Add security check into censor and botmode (om you will need this in cloaking) which prevents non-opers from changing other users modes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4213 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Tweak mode parser so that oper-only modes are only enforced on local ↵brain
clients, so that during a burst the remote server can set them and we dont get desyncs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4212 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Make it compile... >_<om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4211 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Move to stack-allocated OnRehash()-local ConfigReader *duck*om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4210 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09More copy/paste fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4209 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Give modeclasses access to Server* Srv via constructorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4208 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09More typo fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4207 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09More tweaks (remove OnExtendedMode)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4206 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Started on thisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4205 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Fixed to have DELETEbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4204 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09DELETE()'s in destructors *fwap*om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4203 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Add a missing cf->DoImplements(List); >_<om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4202 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Okay..updates to u_listmode, general cleanups and add some virtual methods ↵om
which subclasses can override to alter behaviour..all looking much nicer and more flexible now. Update m_chanfilter to use u_listmode, demonstrates most or all of the new features of it and looks a hell of a lot prettier :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4201 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Add a parameter to set what config tag to parse (defaults to what was ↵om
previously hardcoded); Some other cleanups using initialisation lists, and using a ConfigParser stack-allocated rather than keeping a persistent heap-allocated one; Remove hardcoded filename prefixes in log messages git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4200 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Add a return MODEACTION_DENY, fixes 'control reaches end of non-void ↵om
function warning' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4199 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Fixed pointless dereference spotted by Foamybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4198 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Tidied up m_testcommand (removed a mode handler)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4197 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Convert m_censor to new apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4196 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Fix all typos (not as fun as 'kill all humans' but meh, beggers cant be ↵brain
choosers) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4195 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Did some renaming so that the methods for modes in chanrec and userrec are ↵brain
identical. bool IsModeSet(const unsigned char c); void SetMode(const unsigned char c, bool value); Fixed m_botmode for new api git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4194 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Convert to new API and optimize colour checking (we were using 0 ... ↵brain
string::length() when we could use std::string::iterator) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4193 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Fix typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4192 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Port m_blockcaps to new api, remove OnExtendedMode and OnDisplayList events ↵brain
entirely git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4191 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Convert to new APIbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4190 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Convert u_listmode and m_banexception to new apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4189 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Remove Server::AddExtendedMode and Server::AddExtendedListMode, replace with ↵brain
Server::AddMode (makes more sense naming wise too as all modes are modes, all the same now) NOTE: Modules that implement modes WILL NO LONGER COMPILE NOW UNTIL THEY ARE PORTED TO THE NEW API git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4188 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Forward port of fix for Add*Line to apply automaticallyspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4187 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Implement DisplayList virtual method calls, and implement it in cmode_bbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4185 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Add code to remove an opers opertype when they oper downbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4184 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Add usermode +o, with special checking so that an oper may only remove the ↵brain
mode not set it (on himself or others) - Finish off facility for oper-only user and channel modes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4183 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Forgot return;sbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4182 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Added DisplayCurrentModes which will display the modes of a channel or nickbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4181 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Fix typosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4180 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Add code to display umode changes when they occurbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4179 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Add userrec::HasMode, fix some typos.brain
TODO: Make more use of userrec::HasUmode('c') rather than user->modes['c'-65] *oogly* Next - get umode +o working! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4178 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Change channelmodes -> usermodes (typo)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4177 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Convert new +isw modes to new mode formatbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4176 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Refactored user modes to work like the channel modes - core and module data ↵brain
now the same storage format without ::modebits git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7