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/core/ms_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/core/ms_main.cpp') diff --git a/modules/core/ms_main.cpp b/modules/core/ms_main.cpp index cb3a21b59..4a4531a3f 100644 --- a/modules/core/ms_main.cpp +++ b/modules/core/ms_main.cpp @@ -167,7 +167,7 @@ class MemoServCore : public Module throw ModuleException("No bot named " + Config->MemoServ); Implementation i[] = { I_OnNickIdentify, I_OnJoinChannel, I_OnUserAway, I_OnNickUpdate, I_OnPreHelp, I_OnPostHelp }; - ModuleManager::Attach(i, this, 6); + ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation)); ModuleManager::RegisterService(&this->mymemoserv); } -- cgit