diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-04 19:13:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-04 19:13:22 +0000 |
commit | 1acc89351c396fbee1bb8e196da412c88b0e9302 (patch) | |
tree | 3a998ec3fd93e3015c0fbac9bfd7ee4b7cbd9e40 /src/modules | |
parent | d3d06093ddee93f5b3c2101fc70796b4def45109 (diff) |
Dont check APrefix both times :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9332 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_chanprotect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 583bde692..e85744d06 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -362,7 +362,7 @@ class ModuleChanProtect : public Module if (cp && ServerInstance->Modes->FindPrefix(APrefix) == cp) throw CoreException("Looks like the +a prefix you picked for m_chanprotect is already in use. Pick another."); - if (cf && ServerInstance->Modes->FindPrefix(APrefix) == cf) + if (cf && ServerInstance->Modes->FindPrefix(QPrefix) == cf) throw CoreException("Looks like the +q prefix you picked for m_chanprotect is already in use. Pick another."); DeprivSelf = Conf.ReadFlag("options","deprotectself",0); |