diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-10 20:34:30 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-10 20:34:30 +0000 |
commit | 31aeffb7496126e5606952579395c5a0fa526ff0 (patch) | |
tree | c06a4eac6d8e0b628707833036a706802d9a682c /src | |
parent | c68005649fcf206baab17d27e8b68aa59b9a3e38 (diff) |
Fix owines crashes here too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8561 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_cloaking.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index 43a0f5693..c2f721945 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -319,16 +319,12 @@ class ModuleCloaking : public Module ModuleCloaking(InspIRCd* Me) : Module(Me) { - /* Create new mode handler object */ - cu = new CloakUser(ServerInstance, this, HashModule); - /* Attempt to locate the md5 service provider, bail if we can't find it */ HashModule = ServerInstance->Modules->Find("m_md5.so"); if (!HashModule) - { - delete cu; throw ModuleException("Can't find m_md5.so. Please load m_md5.so before m_cloaking.so."); - } + + cu = new CloakUser(ServerInstance, this, HashModule); try { |