summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-15 21:25:30 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-15 21:25:30 +0000
commit01c23b31f7d0ea87052cd22814af826ecb11f0f3 (patch)
tree53743a6950d0ddafe6c8319eecf09b1c6d1687a2 /src/modules
parent94d7827e8b101b528c427298fada73664970cf26 (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_cloaking.cpp7
1 files changed, 3 insertions, 4 deletions
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
{