summaryrefslogtreecommitdiff
path: root/src/modules/m_helpop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_helpop.cpp')
-rw-r--r--src/modules/m_helpop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index 3a5934a67..81eb02e8d 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -115,7 +115,7 @@ class ModuleHelpop : public Module
{
ReadConfig();
ho = new Helpop(ServerInstance);
- if (!ServerInstance->AddMode(ho))
+ if (!ServerInstance->Modes->AddMode(ho))
throw ModuleException("Could not add new modes!");
mycommand = new CommandHelpop(ServerInstance);
ServerInstance->AddCommand(mycommand);