summaryrefslogtreecommitdiff
path: root/modules/encryption/enc_none.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/encryption/enc_none.cpp')
-rw-r--r--modules/encryption/enc_none.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/encryption/enc_none.cpp b/modules/encryption/enc_none.cpp
index ae698914c..1346177f7 100644
--- a/modules/encryption/enc_none.cpp
+++ b/modules/encryption/enc_none.cpp
@@ -10,9 +10,15 @@
#include "module.h"
class ENone : public Module
+ , public EventHook<Event::Encrypt>
+ , public EventHook<Event::Decrypt>
+ , public EventHook<Event::CheckAuthentication>
{
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")
{
}