summaryrefslogtreecommitdiff
path: root/src/modules/m_autoop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_autoop.cpp')
-rw-r--r--src/modules/m_autoop.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_autoop.cpp b/src/modules/m_autoop.cpp
index 8f37f1cf9..e3adfdfe0 100644
--- a/src/modules/m_autoop.cpp
+++ b/src/modules/m_autoop.cpp
@@ -85,6 +85,10 @@ class ModuleAutoOp : public Module
public:
ModuleAutoOp() : mh(this)
{
+ }
+
+ void init()
+ {
ServerInstance->Modules->AddService(mh);
mh.DoImplements(this);