summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackmcbarn <jackmcbarn@jackmcbarn.no-ip.org>2010-10-15 14:00:07 -0400
committerJackmcbarn <jackmcbarn@jackmcbarn.no-ip.org>2010-10-15 14:01:01 -0400
commit6cb19cfffdd2b7ceb981d194920c02c363c48ace (patch)
tree2adb3132caace428f51f171117a0f4915cd255a5
parent9133c3302428eb81f6d970502f811e8168079d5a (diff)
Register the silence list extension
-rw-r--r--src/modules/m_silence.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index 7925fd8d8..bd1e1ffe0 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -288,6 +288,7 @@ class ModuleSilence : public Module
OnRehash(NULL);
ServerInstance->AddCommand(&cmdsilence);
ServerInstance->AddCommand(&cmdsvssilence);
+ ServerInstance->Extensions.Register(&cmdsilence.ext);
Implementation eventlist[] = { I_OnRehash, I_On005Numeric, I_OnUserPreNotice, I_OnUserPreMessage, I_OnUserPreInvite };
ServerInstance->Modules->Attach(eventlist, this, 5);