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