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 d9f5be302..8422abd43 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -337,7 +337,7 @@ class ModuleCloaking : public Module
}
/* Register it with the core */
- if (!ServerInstance->AddMode(cu))
+ if (!ServerInstance->Modes->AddMode(cu))
{
delete cu;
throw ModuleException("Could not add new modes!");