diff options
Diffstat (limited to 'src/modules/m_channelban.cpp')
-rw-r--r-- | src/modules/m_channelban.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_channelban.cpp b/src/modules/m_channelban.cpp index 71d4de784..6eec486ea 100644 --- a/src/modules/m_channelban.cpp +++ b/src/modules/m_channelban.cpp @@ -29,7 +29,7 @@ class ModuleBadChannelExtban : public Module void init() { Implementation eventlist[] = { I_OnCheckBan, I_On005Numeric }; - ServerInstance->Modules->Attach(eventlist, this, 2); + ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); } ~ModuleBadChannelExtban() |