summaryrefslogtreecommitdiff
path: root/modules/extra/m_helpchan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/m_helpchan.cpp')
-rw-r--r--modules/extra/m_helpchan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_helpchan.cpp b/modules/extra/m_helpchan.cpp
index 5da492a3a..71e1d3355 100644
--- a/modules/extra/m_helpchan.cpp
+++ b/modules/extra/m_helpchan.cpp
@@ -17,7 +17,7 @@ class HelpChannel : public Module
this->SetAuthor("Anope");
Implementation i[] = { I_OnChannelModeSet, I_OnReload };
- ModuleManager::Attach(i, this, 2);
+ ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
OnReload();
}