From 63a4201d15b041edf0dc029b46684a2ec01ff75b Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 31 Jul 2011 06:24:24 -0400 Subject: Fixed these ModuleManager::Attach calls once and for all.. --- modules/core/enc_sha1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/core/enc_sha1.cpp') diff --git a/modules/core/enc_sha1.cpp b/modules/core/enc_sha1.cpp index 165454737..4fe321bdc 100644 --- a/modules/core/enc_sha1.cpp +++ b/modules/core/enc_sha1.cpp @@ -173,7 +173,7 @@ class ESHA1 : public Module this->SetAuthor("Anope"); Implementation i[] = { I_OnEncrypt, I_OnCheckAuthentication }; - ModuleManager::Attach(i, this, 2); + ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation)); } EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) -- cgit