diff options
author | Adam <Adam@anope.org> | 2011-07-31 06:24:24 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-07-31 06:24:24 -0400 |
commit | 63a4201d15b041edf0dc029b46684a2ec01ff75b (patch) | |
tree | 9362674982818e3f4146382b3df91dfcd8530bce /modules/core/os_main.cpp | |
parent | b751800ff44529d5ce4d7b6f9482565bd01bea55 (diff) |
Fixed these ModuleManager::Attach calls once and for all..
Diffstat (limited to 'modules/core/os_main.cpp')
-rw-r--r-- | modules/core/os_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/os_main.cpp b/modules/core/os_main.cpp index bfb7ddfe6..b555b9ede 100644 --- a/modules/core/os_main.cpp +++ b/modules/core/os_main.cpp @@ -293,7 +293,7 @@ class OperServCore : public Module throw ModuleException("No bot named " + Config->OperServ); Implementation i[] = { I_OnBotPrivmsg, I_OnServerQuit, I_OnUserModeSet, I_OnUserModeUnset, I_OnUserConnect, I_OnUserNickChange, I_OnPreHelp }; - ModuleManager::Attach(i, this, 7); + ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation)); ModuleManager::RegisterService(&sglines); ModuleManager::RegisterService(&szlines); |