diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-09 17:04:17 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-09 17:04:17 +0000 |
commit | 12923aae21367d948c74e4bdceaf98b61d9f4992 (patch) | |
tree | 3cb4c24e85209f9e7a7ca569dad93856c5a66871 | |
parent | 91a3d1324b70945b52acb607470336c562280ff4 (diff) |
Same fix here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8547 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_cloaking.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index 7209c2714..c0edf21a9 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -329,11 +329,12 @@ class ModuleCloaking : public Module /* Create new mode handler object */ cu = new CloakUser(ServerInstance, this, HashModule); - /* Register it with the core */ + OnRehash(NULL,""); + + /* Register it with the core */ if (!ServerInstance->AddMode(cu)) throw ModuleException("Could not add new modes!"); - OnRehash(NULL,""); Implementation eventlist[] = { I_OnRehash }; ServerInstance->Modules->Attach(eventlist, this, 1); } |