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 --- include/extensible.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 BeginUnregister(Module* module); + void doUnhookExtensions(const std::vector& toRemove); // Friend access for the protected getter/setter friend class ExtensionItem; -- cgit v1.2.3