summaryrefslogtreecommitdiff
path: root/src/modules/m_globalload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_globalload.cpp')
-rw-r--r--src/modules/m_globalload.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_globalload.cpp b/src/modules/m_globalload.cpp
index 5ece45081..22286b950 100644
--- a/src/modules/m_globalload.cpp
+++ b/src/modules/m_globalload.cpp
@@ -182,9 +182,9 @@ class ModuleGlobalLoad : public Module
void init()
{
- ServerInstance->AddCommand(&cmd1);
- ServerInstance->AddCommand(&cmd2);
- ServerInstance->AddCommand(&cmd3);
+ ServerInstance->Modules->AddService(cmd1);
+ ServerInstance->Modules->AddService(cmd2);
+ ServerInstance->Modules->AddService(cmd3);
}
~ModuleGlobalLoad()