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_cloaking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_cloaking.cpp') diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index e5cf64988..7a500c1b3 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -274,7 +274,7 @@ class ModuleCloaking : public Module { OnRehash(NULL,""); } - catch (CoreException &e) + catch (ModuleException &e) { delete cu; throw e; -- cgit v1.3.1-10-gc9f91