summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-03Remove the shared object pointer from the hash after each reloadbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5121 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-03Forgot to copy cmd_mode.sobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5120 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-03Add /RELOAD and move cmd_mode into its own command.brain
/RELOAD is the only thing you cant reload (ahem) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5119 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-03Auto loading of commands as shared objects via dlsym (very lightweight ↵brain
interface, just expects a command_t* pointer) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5118 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02cmd_* files are now shared object. This lets make -j optimize the build ↵brain
process a little better (it doesnt have to wait for the cmd_ files to finish so it can link commands.cpp against them), and it makes libIRCDcommands.so not be 20mb in size (which might hit file size limits on some shell hosters) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5117 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02Give this module VF_COMMON, as services depend on itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5116 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02Only VF_COMMON modules are sent in CAPAB now, not VF_STATICbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5115 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02Doesnt need VF_STATICbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5114 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02Commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5113 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02Actually make +ovhk removable with DelMode (just in case somebody wants to, ↵brain
or we have need to in the future) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5112 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02Because these modes take no parameter when being removed, they need no ↵brain
special code for ModeHandler::RemoveMode() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5111 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02Actually let it be unloaded would be a start (remove VF_STATIC)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5110 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02Allow unloading of +qabrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5109 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02And this (i guess it once tested mode stuff)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5108 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02So was this...brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5107 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02For some reason this was VF_STATICbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5106 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-09-02All modules which implement simplemodes (no parameters, not a list mode) can ↵brain
now be UNLOADED O_o git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5102 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02Any modules which were using VF_STATIC to indicate they implement a mode ↵brain
should change this to VF_COMMON once they have the correct unload code git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5101 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02Allow unloading of modules which implement modes!brain
The default implementation of the new system will remove simplemodes so any mode handler which is just a simple mode (no params and not a list mode) does not need to add much more than one line of code and remove its VF_STATIC flag. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5100 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02Add chanrec::IsBanned() so that we dont have to keep walking the banlist in ↵brain
various modules and using match() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5099 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-01Exception handling in most of userrec... not too fine grained yet howeverbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5098 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-01Add snomask f (flood)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5097 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-31Made CountChannels faster. We use it in quite a few places. It's now O(1) ↵brain
rather than O(n) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5094 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-31Put some client quit stuff in cmd_quit into the Qq snomasks properlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5093 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-31Make ban override notice only trigger when they actually match a ban :Pbrain
Alter all to use snomask O (oper override) which this module enables git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5092 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-31Fix for bug #134 reported by mixx941: When user connects to ircd with no ↵brain
usermodes set on themselves, an m_spanningtree std::string throws a range exception because we try and substr npos. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5091 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-31Forwardport fix from stable (bug#133 reported by insurgent): configuring a ↵brain
link block with the same name as the local server (?!) then linking to it causes segfault git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5090 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-31Remove extra/wrong qualifications, makes GCC 4.1 (at least) dieom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5088 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-31*thwap* om for not fixing the bugs he finds :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5087 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30In this instance find is faster than rfindbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5086 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30And make it work herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5085 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30Fix for parameters which contain a colon (which is not the first char in ↵brain
the string) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5084 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30Remove -v argument from install (openbsd doesnt like it) - thanks wyleniauybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5082 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30Remove a ton of <typeinfo>, <iostream>, <sstream> etc that we usually never usebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5081 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include listsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Annnd, get the fix right.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5079 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Fix for correct display when removing snomaskbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5078 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Put servername in remote quitsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5077 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Document SnomaskManagerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5076 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Only send 008 when MODE Operbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5075 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Clarify messagebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5074 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Don't silently drop modes that are oper only when a non-oper tries to set ↵brain
them - give a 481 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5073 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29FDSFDSACFasfcasbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5072 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Fix typosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5071 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29More snomask +o (unoper)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5070 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29Snomasks +k (kills) and +o (oper)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5069 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-29The rest of snomask +x (i think)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5068 e03df62e-2008-0410-955e-edbf42e46eb7