diff options
Diffstat (limited to 'src/modmanager_static.cpp')
-rw-r--r-- | src/modmanager_static.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp index c82ee3f7a..44c36919b 100644 --- a/src/modmanager_static.cpp +++ b/src/modmanager_static.cpp @@ -58,7 +58,7 @@ class AllModule : public Module { Command* c = (*i)(this); cmds.push_back(c); - ServerInstance->AddCommand(c); + ServerInstance->Modules->AddService(*c); } } catch (...) |