diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-09 17:06:26 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-09 17:06:26 +0000 |
commit | 90063fd9210237ccc11bd08c84b25dcbebfee549 (patch) | |
tree | a4407c1e7637cf067b2fb3b091f0ad8b20e55524 /src/modules/m_cloaking.cpp | |
parent | ae821d38d9a0026d18c64b4fe3be4594e28e4980 (diff) |
We should probably UseInterface last, too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8549 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_cloaking.cpp')
-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); } |