summaryrefslogtreecommitdiff
path: root/modules/core/ns_cert.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/ns_cert.cpp
parentb751800ff44529d5ce4d7b6f9482565bd01bea55 (diff)
Fixed these ModuleManager::Attach calls once and for all..
Diffstat (limited to 'modules/core/ns_cert.cpp')
-rw-r--r--modules/core/ns_cert.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/ns_cert.cpp b/modules/core/ns_cert.cpp
index c351dbd43..fbd75d597 100644
--- a/modules/core/ns_cert.cpp
+++ b/modules/core/ns_cert.cpp
@@ -211,7 +211,7 @@ class NSCert : public Module
throw ModuleException("Your IRCd does not support ssl client certificates");
Implementation i[] = { I_OnUserNickChange, I_OnFingerprint };
- ModuleManager::Attach(i, this, 2);
+ ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
ModuleManager::RegisterService(&commandnscert);
}