diff options
Diffstat (limited to 'src/modules/m_chanprotect.cpp')
-rw-r--r-- | src/modules/m_chanprotect.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 0cc4fe8d7..768c7eb8c 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -356,6 +356,9 @@ class ModuleChanProtect : public Module std::string apre = Conf.ReadValue("options", "aprefix", 0); APrefix = apre.empty() ? 0 : apre[0]; + if ((APrefix && QPrefix) && APrefix == QPrefix) + throw CoreException("What the smeg, why are both your +q and +a prefixes the same character?"); + DeprivSelf = Conf.ReadFlag("options","deprotectself",0); DeprivOthers = Conf.ReadFlag("options","deprotectothers",0); |