summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/extensible.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/extensible.h b/include/extensible.h
index 3f5998231..d3d22a97e 100644
--- a/include/extensible.h
+++ b/include/extensible.h
@@ -81,7 +81,8 @@ class CoreExport Extensible : public classbase
virtual ~Extensible();
static bool Register(ExtensionItem* item);
- static void UnRegister(Module* module);
+ static std::vector<ExtensionItem*> BeginUnregister(Module* module);
+ void doUnhookExtensions(const std::vector<ExtensionItem*>& toRemove);
// Friend access for the protected getter/setter
friend class ExtensionItem;