diff options
Diffstat (limited to 'src/modules/m_samode.cpp')
-rw-r--r-- | src/modules/m_samode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp index 10d05e397..c0cf1b93d 100644 --- a/src/modules/m_samode.cpp +++ b/src/modules/m_samode.cpp @@ -58,7 +58,7 @@ class ModuleSaMode : public Module void init() { - ServerInstance->AddCommand(&cmd); + ServerInstance->Modules->AddService(cmd); ServerInstance->Modules->Attach(I_OnPreMode, this); } |