git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8561
e03df62e-2008-0410-955e-
edbf42e46eb7
ModuleCloaking(InspIRCd* Me)
: Module(Me)
{
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)
/* Attempt to locate the md5 service provider, bail if we can't find it */
HashModule = ServerInstance->Modules->Find("m_md5.so");
if (!HashModule)
throw ModuleException("Can't find m_md5.so. Please load m_md5.so before m_cloaking.so.");
throw ModuleException("Can't find m_md5.so. Please load m_md5.so before m_cloaking.so.");
+
+ cu = new CloakUser(ServerInstance, this, HashModule);