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/extra/m_rline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_rline.cpp b/src/modules/extra/m_rline.cpp index 146087ec0..1a030d38a 100644 --- a/src/modules/extra/m_rline.cpp +++ b/src/modules/extra/m_rline.cpp @@ -47,7 +47,7 @@ class CoreExport RLine : public XLine if (!regex) { ServerInstance->SNO->WriteToSnoMask('x',"Error in regular expression: %s at offset %d: %s\n", regexs, erroffset, error); - throw CoreException("Bad regex pattern."); + throw ModuleException("Bad regex pattern."); } } -- cgit v1.3.1-10-gc9f91