summaryrefslogtreecommitdiff
path: root/modules/encryption
diff options
context:
space:
mode:
Diffstat (limited to 'modules/encryption')
-rw-r--r--modules/encryption/enc_bcrypt.cpp4
-rw-r--r--modules/encryption/enc_md5.cpp4
-rw-r--r--modules/encryption/enc_none.cpp6
-rw-r--r--modules/encryption/enc_old.cpp4
-rw-r--r--modules/encryption/enc_sha1.cpp4
-rw-r--r--modules/encryption/enc_sha256.cpp4
6 files changed, 13 insertions, 13 deletions
diff --git a/modules/encryption/enc_bcrypt.cpp b/modules/encryption/enc_bcrypt.cpp
index 1a4e00e20..98dd30664 100644
--- a/modules/encryption/enc_bcrypt.cpp
+++ b/modules/encryption/enc_bcrypt.cpp
@@ -877,8 +877,8 @@ class EBCRYPT : public Module
public:
EBCRYPT(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR | EXTRA)
- , EventHook<Event::Encrypt>("OnEncrypt")
- , EventHook<Event::CheckAuthentication>("OnCheckAuthentication")
+ , EventHook<Event::Encrypt>()
+ , EventHook<Event::CheckAuthentication>()
, rounds(10)
{
// Test a pre-calculated hash
diff --git a/modules/encryption/enc_md5.cpp b/modules/encryption/enc_md5.cpp
index 3de183adb..79ab3dcd4 100644
--- a/modules/encryption/enc_md5.cpp
+++ b/modules/encryption/enc_md5.cpp
@@ -345,8 +345,8 @@ class EMD5 : public Module
public:
EMD5(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR)
- , EventHook<Event::Encrypt>("OnEncrypt")
- , EventHook<Event::CheckAuthentication>("OnCheckAuthentication")
+ , EventHook<Event::Encrypt>()
+ , EventHook<Event::CheckAuthentication>()
, md5provider(this)
{
if (ModuleManager::FindFirstOf(ENCRYPTION) == this)
diff --git a/modules/encryption/enc_none.cpp b/modules/encryption/enc_none.cpp
index 86f01ae38..f9b1d1f96 100644
--- a/modules/encryption/enc_none.cpp
+++ b/modules/encryption/enc_none.cpp
@@ -16,9 +16,9 @@ class ENone : public Module
{
public:
ENone(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR)
- , EventHook<Event::Encrypt>("OnEncrypt")
- , EventHook<Event::Decrypt>("OnDecrypt")
- , EventHook<Event::CheckAuthentication>("OnCheckAuthentication")
+ , EventHook<Event::Encrypt>()
+ , EventHook<Event::Decrypt>()
+ , EventHook<Event::CheckAuthentication>()
{
}
diff --git a/modules/encryption/enc_old.cpp b/modules/encryption/enc_old.cpp
index ec2c076cf..58be6f0da 100644
--- a/modules/encryption/enc_old.cpp
+++ b/modules/encryption/enc_old.cpp
@@ -44,8 +44,8 @@ class EOld : public Module
public:
EOld(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR)
- , EventHook<Event::Encrypt>("OnEncrypt")
- , EventHook<Event::CheckAuthentication>("OnCheckAuthentication")
+ , EventHook<Event::Encrypt>()
+ , EventHook<Event::CheckAuthentication>()
, oldmd5provider(this)
{
if (ModuleManager::FindFirstOf(ENCRYPTION) == this)
diff --git a/modules/encryption/enc_sha1.cpp b/modules/encryption/enc_sha1.cpp
index 010add276..6fae784f2 100644
--- a/modules/encryption/enc_sha1.cpp
+++ b/modules/encryption/enc_sha1.cpp
@@ -200,8 +200,8 @@ class ESHA1 : public Module
public:
ESHA1(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR)
- , EventHook<Event::Encrypt>("OnEncrypt")
- , EventHook<Event::CheckAuthentication>("OnCheckAuthentication")
+ , EventHook<Event::Encrypt>()
+ , EventHook<Event::CheckAuthentication>()
, sha1provider(this)
{
if (ModuleManager::FindFirstOf(ENCRYPTION) == this)
diff --git a/modules/encryption/enc_sha256.cpp b/modules/encryption/enc_sha256.cpp
index e7989c24d..1f518cae2 100644
--- a/modules/encryption/enc_sha256.cpp
+++ b/modules/encryption/enc_sha256.cpp
@@ -275,8 +275,8 @@ class ESHA256 : public Module
public:
ESHA256(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR)
- , EventHook<Event::Encrypt>("OnEncrypt")
- , EventHook<Event::CheckAuthentication>("OnCheckAuthentication")
+ , EventHook<Event::Encrypt>()
+ , EventHook<Event::CheckAuthentication>()
, sha256provider(this)
{