summaryrefslogtreecommitdiff
path: root/src/modules/m_cloaking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_cloaking.cpp')
-rw-r--r--src/modules/m_cloaking.cpp2
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,"");