summaryrefslogtreecommitdiff
path: root/src/modules/m_alltime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_alltime.cpp')
-rw-r--r--src/modules/m_alltime.cpp2
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()