summaryrefslogtreecommitdiff
path: root/modules/core/ns_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ns_main.cpp')
-rw-r--r--modules/core/ns_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/ns_main.cpp b/modules/core/ns_main.cpp
index e01d82391..57323d0a5 100644
--- a/modules/core/ns_main.cpp
+++ b/modules/core/ns_main.cpp
@@ -147,7 +147,7 @@ class NickServCore : public Module
Implementation i[] = { I_OnDelNick, I_OnDelCore, I_OnChangeCoreDisplay, I_OnNickIdentify, I_OnNickGroup,
I_OnNickUpdate, I_OnUserNickChange, I_OnPreHelp, I_OnPostHelp };
- ModuleManager::Attach(i, this, 9);
+ ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
ModuleManager::RegisterService(&this->mynickserv);
}