summaryrefslogtreecommitdiff
path: root/modules/encryption
diff options
context:
space:
mode:
Diffstat (limited to 'modules/encryption')
-rw-r--r--modules/encryption/enc_md5.cpp2
-rw-r--r--modules/encryption/enc_none.cpp2
-rw-r--r--modules/encryption/enc_old.cpp2
-rw-r--r--modules/encryption/enc_sha1.cpp2
-rw-r--r--modules/encryption/enc_sha256.cpp2
5 files changed, 0 insertions, 10 deletions
diff --git a/modules/encryption/enc_md5.cpp b/modules/encryption/enc_md5.cpp
index e19931800..a352e8dec 100644
--- a/modules/encryption/enc_md5.cpp
+++ b/modules/encryption/enc_md5.cpp
@@ -346,8 +346,6 @@ class EMD5 : public Module
md5provider(this)
{
- Implementation i[] = { I_OnEncrypt, I_OnCheckAuthentication };
- ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
}
EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) anope_override
diff --git a/modules/encryption/enc_none.cpp b/modules/encryption/enc_none.cpp
index 5f219000c..9754c0c4f 100644
--- a/modules/encryption/enc_none.cpp
+++ b/modules/encryption/enc_none.cpp
@@ -15,8 +15,6 @@ class ENone : public Module
ENone(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR)
{
- Implementation i[] = { I_OnEncrypt, I_OnDecrypt, I_OnCheckAuthentication };
- ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
}
EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) anope_override
diff --git a/modules/encryption/enc_old.cpp b/modules/encryption/enc_old.cpp
index 037a2fffc..eee9b25b6 100644
--- a/modules/encryption/enc_old.cpp
+++ b/modules/encryption/enc_old.cpp
@@ -49,8 +49,6 @@ class EOld : public Module
if (!md5)
throw ModuleException("Unable to find md5 reference");
- Implementation i[] = { I_OnEncrypt, I_OnCheckAuthentication };
- ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
}
EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) anope_override
diff --git a/modules/encryption/enc_sha1.cpp b/modules/encryption/enc_sha1.cpp
index c1f032874..4ef3e51fe 100644
--- a/modules/encryption/enc_sha1.cpp
+++ b/modules/encryption/enc_sha1.cpp
@@ -201,8 +201,6 @@ class ESHA1 : public Module
sha1provider(this)
{
- Implementation i[] = { I_OnEncrypt, I_OnCheckAuthentication };
- ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
}
EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) anope_override
diff --git a/modules/encryption/enc_sha256.cpp b/modules/encryption/enc_sha256.cpp
index 85fbaf223..099b778dd 100644
--- a/modules/encryption/enc_sha256.cpp
+++ b/modules/encryption/enc_sha256.cpp
@@ -277,8 +277,6 @@ class ESHA256 : public Module
sha256provider(this)
{
- Implementation i[] = { I_OnEncrypt, I_OnCheckAuthentication };
- ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
use_iv = false;
}