summaryrefslogtreecommitdiff
path: root/src/modules/m_silence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_silence.cpp')
-rw-r--r--src/modules/m_silence.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index d56ee145d..40a42c9d7 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -299,6 +299,10 @@ class ModuleSilence : public Module
ModuleSilence()
: maxsilence(32), cmdsilence(this, maxsilence), cmdsvssilence(this)
{
+ }
+
+ void init()
+ {
OnRehash(NULL);
ServerInstance->AddCommand(&cmdsilence);
ServerInstance->AddCommand(&cmdsvssilence);