summaryrefslogtreecommitdiff
path: root/src/modules/m_cloaking.cpp
AgeCommit message (Collapse)Author
2009-05-13Revert some files accidentally committed in r11371. I'm apparently doing a ↵special
very bad job of multitasking. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11372 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-13Fix an issue in r11370 spotted by danieldgspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11371 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15Update all wiki links to point to the new wiki. This was done automatically ↵psychon
with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-16Remove redundant PriorityState, enum Priority does the exact same thing.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11121 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Update copyrights for 2009.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-01Remove now-unneeded 4in6 hacks [danieldg]w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10781 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-01Merge commit 'ddg/out-12'w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10778 e03df62e-2008-0410-955e-edbf42e46eb7
2008-10-25Fix <disabled:umodes> interfering with /unloadmodule m_implementing_a_umode, ↵w00t
aquanight, you didn't look quite far enough into this - the problem was m_cloaking (e.g.) returning MODEACTION_DENY if src != dest, which was very very oooold behaviour. Seems to work fine now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10713 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-16Shrink users properly on quit, and make cloaks for all existing users on ↵brain
load, for situations where the cloaking module is loaded after the ircd is booted. Thanks Ankit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10546 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-14dont try and cloak if no valid cloak was returned (eg. localhost)peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10542 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13Optimisationbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10538 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-13Fix setting of +x before we've processed an OnUserConnectbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10536 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-10Back out change, as this doesn't work properly with channel bans.. ↵w00t
Prioritise before cloaking, as otherwise you may encounter usermode changes on a nonexistant user. (part of the original change too). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10508 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-10Bit of a tidyup, generate cloak whenever first set, not necessarily on connectw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10500 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Change module versions to use a string instead of fixed digits, and use ↵w00t
propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Match conversion stuff.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Revert automated conversion by Special, as it (unfortunately) neglects some ↵w00t
details. It provides a useful start point, though, so it'll be used as the basis for the final conversion. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10215 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-22Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist ↵special
anymore) after w00t broke them. Still broken pending a few more changes (it's all w00t's fault.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10214 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-11fixed some indentation and spacing in modulespippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-29Apply patch to fix ipv6 builds, contributed by danieldg, thanks :-)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9817 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19Convert connection::hostbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9768 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-19More donebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9759 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-01Some modules throw CoreException, this is wrong wrongitty wrong! Throw ↵brain
ModuleException instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9598 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-10Add correct stuff so that /taxonomy can show the cloaked hosts for users in ↵brain
their metadata git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9452 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-10Calculate hosts on connect so theres no way around a ban on your cloak, even ↵brain
if you never cloak yourself even once git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9451 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-10Fix for bug #513brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9449 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Comment tweakagew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9429 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24And more of thembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9186 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-18Phew. Fix a bunch of method sigs to stop warnings.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8966 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Remove a redundant method here, call the mode manager directlyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8732 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Header update: 2007 -> 2008w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-10Fix owines crashes here toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8561 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-10Fix crashes found by owine (usually on startup)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8559 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-09We should probably UseInterface last, toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8549 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-09Theres actually more to this. Before we throw, delete cu (the destructor ↵brain
WONT be called if we throw from a constructor, we must do this tidyup ourselves) And move some other throws below OnRehash call git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8548 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-09Same fix herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8547 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04Remove Implements() method from every module. booya.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8536 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04Honking huge commit. Removal of DELETE() template that never worked right anywaybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8527 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-04Convert all to new Attach() system. The Implements() method needs removing ↵brain
from all modules as it is dead weight. WARNING: there are segfaults here! HERE BE DRAGONS, i am not finished! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8510 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25Brain, look at this pls :pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8359 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23Morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8322 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15In the grand tradition of huge fucking commits:w00t
- chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
2007-09-12Modified m_cloaking to not use need_positive (instead, cast to an unsigned ↵special
int). This allows it to use all possible values for an unsigned int, instead of just the positive values in a signed int git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8026 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-28Move everything module-related out of InspIRCd and into ModuleManager, there ↵om
is a ModuleManager instantiated as InspIRCd::Modules. Several of the function names have changed slightly as well. e.g. Instance->FindModule(m_foobar.so); is now Instance->Modules->Find(m_foobar.so); All modules in the core distribution should also be updated in line with these changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7985 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Remove unnecessary header trafficw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7885 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Add some stuff to change how we process a token sepeperated streambrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7800 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-18Added the <cloak:ipalways> and <cloak:lowercase> options. Patch by nenolodspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7737 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-26Add extra detail to m_cloaking on failure to loadbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7580 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23Fix a bug reported downstream regarding cloaking keysw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7513 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7