diff options
Diffstat (limited to 'src/modules/m_alltime.cpp')
-rw-r--r-- | src/modules/m_alltime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_alltime.cpp b/src/modules/m_alltime.cpp index 682e94cd8..38ae4b254 100644 --- a/src/modules/m_alltime.cpp +++ b/src/modules/m_alltime.cpp @@ -64,7 +64,7 @@ class Modulealltime : public Module void init() { - ServerInstance->AddCommand(&mycommand); + ServerInstance->Modules->AddService(mycommand); } virtual ~Modulealltime() |