summaryrefslogtreecommitdiff
path: root/modules/core/ms_main.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-07-31 06:24:24 -0400
committerAdam <Adam@anope.org>2011-07-31 06:24:24 -0400
commit63a4201d15b041edf0dc029b46684a2ec01ff75b (patch)
tree9362674982818e3f4146382b3df91dfcd8530bce /modules/core/ms_main.cpp
parentb751800ff44529d5ce4d7b6f9482565bd01bea55 (diff)
Fixed these ModuleManager::Attach calls once and for all..
Diffstat (limited to 'modules/core/ms_main.cpp')
-rw-r--r--modules/core/ms_main.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}