summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-26 23:22:42 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-26 23:22:42 +0000
commit124f288f8f716ea54a21abbe9376497dd3463f1a (patch)
tree0b0fffd8bdf4ae7d155af0831127756585c900f2 /src
parent38b9b2a4ce7e5e17f6a172839c771103c0ff6497 (diff)
Fix deprotectself=no not working.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6130 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_chanprotect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp
index 8d48f324c..9f5a4eba3 100644
--- a/src/modules/m_chanprotect.cpp
+++ b/src/modules/m_chanprotect.cpp
@@ -163,7 +163,7 @@ class ChanFounder : public ModeHandler, public FounderProtectBase
{
char* dummyptr;
public:
- ChanFounder(InspIRCd* Instance, bool using_prefixes, bool depriv_self)
+ ChanFounder(InspIRCd* Instance, bool using_prefixes, bool &depriv_self)
: ModeHandler(Instance, 'q', 1, 1, true, MODETYPE_CHANNEL, false, using_prefixes ? '~' : 0),
FounderProtectBase(Instance, "cm_founder_", "founder", 386, 387, depriv_self) { }
@@ -221,7 +221,7 @@ class ChanProtect : public ModeHandler, public FounderProtectBase
{
char* dummyptr;
public:
- ChanProtect(InspIRCd* Instance, bool using_prefixes, bool depriv_self)
+ ChanProtect(InspIRCd* Instance, bool using_prefixes, bool &depriv_self)
: ModeHandler(Instance, 'a', 1, 1, true, MODETYPE_CHANNEL, false, using_prefixes ? '&' : 0),
FounderProtectBase(Instance,"cm_protect_","protected user", 388, 389, depriv_self) { }