diff options
Diffstat (limited to 'src/modules/m_close.cpp')
-rw-r--r-- | src/modules/m_close.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_close.cpp b/src/modules/m_close.cpp index 0f38f84a1..8b0ea3417 100644 --- a/src/modules/m_close.cpp +++ b/src/modules/m_close.cpp @@ -73,7 +73,7 @@ class ModuleClose : public Module void init() { - ServerInstance->AddCommand(&cmd); + ServerInstance->Modules->AddService(cmd); } virtual ~ModuleClose() |