summaryrefslogtreecommitdiff
path: root/src/modules/m_shun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r--src/modules/m_shun.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index 096d2f9ee..10693e5f3 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -183,6 +183,10 @@ class ModuleShun : public Module
public:
ModuleShun() : cmd(this)
{
+ }
+
+ void init()
+ {
ServerInstance->XLines->RegisterFactory(&f);
ServerInstance->AddCommand(&cmd);