summaryrefslogtreecommitdiff
path: root/modules/encryption/bcrypt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/encryption/bcrypt.cpp')
-rw-r--r--modules/encryption/bcrypt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/encryption/bcrypt.cpp b/modules/encryption/bcrypt.cpp
index 74d729491..ed003f883 100644
--- a/modules/encryption/bcrypt.cpp
+++ b/modules/encryption/bcrypt.cpp
@@ -877,6 +877,8 @@ class EBCRYPT : public Module
public:
EBCRYPT(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR)
+ , EventHook<Event::Encrypt>(this)
+ , EventHook<Event::CheckAuthentication>(this)
, rounds(10)
{
// Test a pre-calculated hash