From 90063fd9210237ccc11bd08c84b25dcbebfee549 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 9 Nov 2007 17:06:26 +0000 Subject: We should probably UseInterface last, too git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8549 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cloaking.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index f0f754551..e1b8db61f 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -319,8 +319,6 @@ class ModuleCloaking : public Module ModuleCloaking(InspIRCd* Me) : Module(Me) { - ServerInstance->Modules->UseInterface("HashRequest"); - /* Create new mode handler object */ cu = new CloakUser(ServerInstance, this, HashModule); @@ -341,6 +339,8 @@ class ModuleCloaking : public Module throw ModuleException("Could not add new modes!"); } + ServerInstance->Modules->UseInterface("HashRequest"); + Implementation eventlist[] = { I_OnRehash }; ServerInstance->Modules->Attach(eventlist, this, 1); } -- cgit v1.2.3