diff options
-rw-r--r-- | src/modules/m_cloaking.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |