summaryrefslogtreecommitdiff
path: root/src/modules/m_md5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_md5.cpp')
-rw-r--r--src/modules/m_md5.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_md5.cpp b/src/modules/m_md5.cpp
index f8ccda26b..a42ccbb7e 100644
--- a/src/modules/m_md5.cpp
+++ b/src/modules/m_md5.cpp
@@ -278,10 +278,12 @@ class ModuleMD5 : public Module
ModuleMD5(InspIRCd* Me)
: Module::Module(Me), key(NULL), chars(NULL)
{
+ ServerInstance->PublishInterface("HashRequest", this);
}
virtual ~ModuleMD5()
{
+ ServerInstance->UnpublishInterface("HashRequest", this);
}
void Implements(char* List)