From 63a4201d15b041edf0dc029b46684a2ec01ff75b Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 31 Jul 2011 06:24:24 -0400 Subject: Fixed these ModuleManager::Attach calls once and for all.. --- modules/extra/m_helpchan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/extra/m_helpchan.cpp') 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(); } -- cgit