diff options
| author | 2008-05-01 16:59:20 +0000 | |
|---|---|---|
| committer | 2008-05-01 16:59:20 +0000 | |
| commit | ef79134812eb0f3ef024fe57519dce05ec4fb401 (patch) | |
| tree | ca94c4fdebfd5e25c36bd7a0074a1fb31c5f3186 /src/modules/m_cloaking.cpp | |
| parent | #define NO_CLIENT_LONG_LONG, makes mysql.h ANSI C++ compliant so that we can ... (diff) | |
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
Diffstat (limited to 'src/modules/m_cloaking.cpp')
| -rw-r--r-- | src/modules/m_cloaking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
