diff options
Diffstat (limited to 'modules/core/hs_main.cpp')
-rw-r--r-- | modules/core/hs_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/hs_main.cpp b/modules/core/hs_main.cpp index c88f98a50..a6cc6bbb7 100644 --- a/modules/core/hs_main.cpp +++ b/modules/core/hs_main.cpp @@ -28,7 +28,7 @@ class HostServCore : public Module throw ModuleException("No bot named " + Config->HostServ); Implementation i[] = { I_OnNickIdentify, I_OnNickUpdate, I_OnPreHelp }; - ModuleManager::Attach(i, this, 3); + ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation)); } void OnNickIdentify(User *u) |