summaryrefslogtreecommitdiff
path: root/src/modules/m_tline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_tline.cpp')
-rw-r--r--src/modules/m_tline.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_tline.cpp b/src/modules/m_tline.cpp
index 554a12861..a51776527 100644
--- a/src/modules/m_tline.cpp
+++ b/src/modules/m_tline.cpp
@@ -73,9 +73,12 @@ class ModuleTLine : public Module
ModuleTLine()
: cmd(this)
{
- ServerInstance->AddCommand(&cmd);
}
+ void init()
+ {
+ ServerInstance->AddCommand(&cmd);
+ }
virtual ~ModuleTLine()
{