summaryrefslogtreecommitdiff
path: root/include/u_listmode.h
AgeCommit message (Collapse)Author
2007-01-14Someone left the colon off the 'end of list' numeric in u_listmode.h. I dont ↵brain
know what clients this might break git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6328 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14Added interface 'ChannelBanList' that these two modules implement. Send a ↵brain
request class ListModeRequest to the module to check if a user is matched on a channel: const char* ismatched = ListModeRequest(this, targetmodule, someuser, somechan).Send(); ismatched will be NULL if theyre not matched by the modules list, or will contain the mask if they are matched. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6325 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15And now, just to force you to recompile the *whole* ircd.. updated headers ↵w00t
on the headers. :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5998 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23Fix unloading of modules that use u_listmodebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5533 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23banexception, chanfilter, inviteexception: use modestacker to stack modes ↵brain
when the module is unloaded. This results in e.g. one line of -gggggg rather than 6 lines of -g. NEEDS TESTING. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5532 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22Make clever use of modestackerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5516 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-22Make +beIgqa be sent multiple per line, rather than one per line, using ↵brain
modestacker and stringjoiner. This cuts down server to server traffic a *lot*. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5515 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Add extra debugging for socketengines, will now report OS error string when ↵brain
failing to remove a socket from the queue git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5436 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Document a ton of classes (e.g. give them a short description for ↵brain
http://svn.inspircd.org/docs/annotated.html) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5434 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-08Fix 'item not on list' outputbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5162 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02Don't try and delete from the item list whilst iterating it - make a copy ↵brain
instead All modules using u_listmode.h are now unloadable (thats 3 more down) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5105 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02Don't use oncleanup to remove listmode listsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5104 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02banexception, chanfilter and inviteexception should now be unloadable :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5103 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Just to mess with om's head, remove helperfuncs.h from everywherebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Fixedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4882 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11ConfigReader and FileReader now take InspIRCd* to their constructorsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4865 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.brain
Changed Parameter for modules from Server* to InspIRCd*. TODO: Move remaining Server* Modules into InspIRCd* and remove class Server. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10So much stuff changed in this one, i forgot most of it.brain
Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09do_log -> static void InspIRCd::Log() (with vararg and std::string variants)brain
The #define for this still exists, but maybe should be phased out? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4809 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08WHEEEEE!!!!!brain
All of: Write(), WriteTo(), WriteFrom(), WriteServ() are now methods of userrec. Write_NoFormat(), WriteTo_NoFormat(), WriteFrom_NoFormat(), WriteServ_NoFormat() are now std::string-taking overloaded methods of the functions above All modules updated to use new syntax, my fingers hurt :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4798 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27commit remainder of new mode bouncing stuff for TS based modesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4550 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-26Add extra method to mode handler, ModeHandler::ModeSet().brain
Returns a std::pair<bool,string>. if the bool is true, the mode is set, and the second item in the pair is the parameter set on it, if any If the bool is false, the mode is not set, and the parameter given is returned as the second item of the pair To be used in mode bouncing, to build a safe set of bounced modes (dont ask yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4549 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10Inherit tons of stuff from classbase that should always have beenbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4298 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10If you ask me, it looks a hell of a lot tidier without forcing the cast.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4277 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Reorder to avoid warning.brain
We could make the autotidy stuff part of the 'check argument' virtual method in banexception and inviteexception at a later date? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4237 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-09Altered u_listmode to have a constructor arg 'autotidy' which if set to true ↵brain
runs input through ModeParser::CleanMask() otherwise leaves it alone git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4236 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-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 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-03-12Const refs (this is about the last of them in the core api)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3694 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-11Start of conversion to const refs for std::strings in module api - A LOT OF ↵brain
STUFF WONT WORK YET git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3654 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25Oh noes, a typoed comment :xom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2887 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25remove redundant variable and fix log outputom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2886 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25Adding the +e and +I modules m_banexception and m_inviteexception, also ↵om
adding their shared utility header git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2884 e03df62e-2008-0410-955e-edbf42e46eb7