summaryrefslogtreecommitdiff
path: root/src/modules/m_oper_hash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_oper_hash.cpp')
-rw-r--r--src/modules/m_oper_hash.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_oper_hash.cpp b/src/modules/m_oper_hash.cpp
index b9e246c2b..61a43b1e1 100644
--- a/src/modules/m_oper_hash.cpp
+++ b/src/modules/m_oper_hash.cpp
@@ -91,6 +91,8 @@ class ModuleOperHash : public Module
Conf = NULL;
OnRehash("");
+ ServerInstance->UseInterface("HashRequest");
+
/* Find all modules which implement the interface 'HashRequest' */
modulelist* ml = ServerInstance->FindInterface("HashRequest");
@@ -121,6 +123,7 @@ class ModuleOperHash : public Module
virtual ~ModuleOperHash()
{
+ ServerInstance->DoneWithInterface("HashRequest");
}
void Implements(char* List)