diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-15 21:25:30 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-15 21:25:30 +0000 |
commit | 01c23b31f7d0ea87052cd22814af826ecb11f0f3 (patch) | |
tree | 53743a6950d0ddafe6c8319eecf09b1c6d1687a2 /include | |
parent | 94d7827e8b101b528c427298fada73664970cf26 (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.h | 3 |
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; |