From c3a7fb47d62c2f701782809a987747edd7bc7818 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 5 Dec 2006 20:43:41 +0000 Subject: Untested, undocumented PublishInterface, UnpublishInterface, FindInterface. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5867 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_oper_hash.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/modules/m_oper_hash.cpp') diff --git a/src/modules/m_oper_hash.cpp b/src/modules/m_oper_hash.cpp index de6b3f993..be948b445 100644 --- a/src/modules/m_oper_hash.cpp +++ b/src/modules/m_oper_hash.cpp @@ -97,6 +97,13 @@ class ModuleOperHash : public Module Conf = NULL; OnRehash(""); + modulelist* ml = ServerInstance->FindInterface("HashRequest"); + + if (ml) + { + ServerInstance->Log(DEBUG, "Found interface 'HashRequest' containing %d modules", ml->size()); + } + /* Try to find the md5 service provider, bail if it can't be found */ MD5Provider = ServerInstance->FindModule("m_md5.so"); if (MD5Provider) -- cgit v1.2.3