diff options
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 86f120d20..753c8be4b 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -327,7 +327,7 @@ class ModuleCloaking : public Module cu = new CloakUser(ServerInstance, this, HashModule); /* Register it with the core */ - if (!ServerInstance->AddMode(cu, 'x')) + if (!ServerInstance->AddMode(cu)) throw ModuleException("Could not add new modes!"); OnRehash(NULL,""); |