]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Add a required prefix of 0, this may fix problem encountered by Raff7.. (purely cosme...
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 1 Apr 2008 11:13:36 +0000 (11:13 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 1 Apr 2008 11:13:36 +0000 (11:13 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9240 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_chanprotect.cpp

index 86f5e946a38e51973653cd4a0f2647343e7c5faf..853d65159bc9289d377031d19095f70d6b0e59fa 100644 (file)
@@ -165,7 +165,7 @@ class ChanFounder : public ModeHandler, public FounderProtectBase
        char* dummyptr;
  public:
        ChanFounder(InspIRCd* Instance, bool using_prefixes, bool &depriv_self, bool &depriv_others)
-               : ModeHandler(Instance, 'q', 1, 1, true, MODETYPE_CHANNEL, false, using_prefixes ? '~' : 0),
+               : ModeHandler(Instance, 'q', 1, 1, true, MODETYPE_CHANNEL, false, using_prefixes ? '~' : 0, 0),
                  FounderProtectBase(Instance, "cm_founder_", "founder", 386, 387, depriv_self, depriv_others) { }
 
        unsigned int GetPrefixRank()
@@ -227,7 +227,7 @@ class ChanProtect : public ModeHandler, public FounderProtectBase
        char* dummyptr;
  public:
        ChanProtect(InspIRCd* Instance, bool using_prefixes, bool &depriv_self, bool &depriv_others)
-               : ModeHandler(Instance, 'a', 1, 1, true, MODETYPE_CHANNEL, false, using_prefixes ? '&' : 0),
+               : ModeHandler(Instance, 'a', 1, 1, true, MODETYPE_CHANNEL, false, using_prefixes ? '&' : 0, 0),
                  FounderProtectBase(Instance,"cm_protect_","protected user", 388, 389, depriv_self, depriv_others) { }
 
        unsigned int GetPrefixRank()