From 01c23b31f7d0ea87052cd22814af826ecb11f0f3 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 15 Sep 2009 21:25:30 +0000 Subject: Remove Extensible items from user, channel, and Membership on module unload git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11730 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cloaking.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index 50bb4c4b6..fe802164d 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -63,7 +63,7 @@ class CloakUser : public ModeHandler return host.substr(splitdot); } - CloakUser(InspIRCd* Instance, Module* source, Module* Hash) + CloakUser(Module* source, Module* Hash) : ModeHandler(source, 'x', PARAM_NONE, MODETYPE_USER), HashProvider(Hash), ext("cloaked_host", source) { @@ -256,15 +256,14 @@ class ModuleCloaking : public Module CloakUser* cu; public: - ModuleCloaking(InspIRCd* Me) - : Module(Me) + ModuleCloaking(InspIRCd*) { /* Attempt to locate the md5 service provider, bail if we can't find it */ Module* 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."); - cu = new CloakUser(ServerInstance, this, HashModule); + cu = new CloakUser(this, HashModule); try { -- cgit v1.2.3