From dbf4d595433ecefeb61f1267ffa515a91c3ab548 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 14 Oct 2009 22:12:55 +0000 Subject: Fix module unmapping with culled Module objects git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11875 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/cull_list.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'include/cull_list.h') diff --git a/include/cull_list.h b/include/cull_list.h index 2b3ed1391..33e9a7ea6 100644 --- a/include/cull_list.h +++ b/include/cull_list.h @@ -33,5 +33,20 @@ class CoreExport CullList void Apply(); }; +class CoreExport ActionList +{ + std::vector*> list; + + public: + /** Adds an item to the list + */ + void AddAction(HandlerBase0* item) { list.push_back(item); } + + /** Runs the items + */ + void Run(); + +}; + #endif -- cgit v1.2.3