diff options
author | Jackmcbarn <jackmcbarn@jackmcbarn.no-ip.org> | 2010-10-15 14:00:07 -0400 |
---|---|---|
committer | Jackmcbarn <jackmcbarn@jackmcbarn.no-ip.org> | 2010-10-15 14:01:01 -0400 |
commit | 6cb19cfffdd2b7ceb981d194920c02c363c48ace (patch) | |
tree | 2adb3132caace428f51f171117a0f4915cd255a5 | |
parent | 9133c3302428eb81f6d970502f811e8168079d5a (diff) |
Register the silence list extension
-rw-r--r-- | src/modules/m_silence.cpp | 1 |
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); |