From ef79134812eb0f3ef024fe57519dce05ec4fb401 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 1 May 2008 16:59:20 +0000 Subject: Some modules throw CoreException, this is wrong wrongitty wrong! Throw ModuleException instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9598 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chanprotect.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_chanprotect.cpp') diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 6df309cde..b15cd0d9f 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -354,13 +354,13 @@ class ModuleChanProtect : public Module 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?"); + throw ModuleException("What the smeg, why are both your +q and +a prefixes the same character?"); 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."); + throw ModuleException("Looks like the +a prefix you picked for m_chanprotect is already in use. Pick another."); 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."); + throw ModuleException("Looks like the +q prefix you picked for m_chanprotect is already in use. Pick another."); DeprivSelf = Conf.ReadFlag("options","deprotectself",0); DeprivOthers = Conf.ReadFlag("options","deprotectothers",0); -- cgit v1.3.1-10-gc9f91