summaryrefslogtreecommitdiff
path: root/src/modules/m_halfop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_halfop.cpp')
-rw-r--r--src/modules/m_halfop.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_halfop.cpp b/src/modules/m_halfop.cpp
index 7a43f0241..78c4234e2 100644
--- a/src/modules/m_halfop.cpp
+++ b/src/modules/m_halfop.cpp
@@ -88,6 +88,10 @@ class ModuleHalfop : public Module
public:
ModuleHalfop() : mh(this)
{
+ }
+
+ void init()
+ {
if (!ServerInstance->Modes->AddMode(&mh))
throw ModuleException("Could not add new modes!");
}