From 7fe5347210730622badcb6ed32d90114bd8cbeb4 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Nov 2007 19:12:55 +0000 Subject: Remove our vectors of Module*/ircd_module*, replace with a map of std::pair git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8513 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'include/modules.h') diff --git a/include/modules.h b/include/modules.h index a42292ad1..49fd0da50 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1565,22 +1565,12 @@ class CoreExport ModuleManager : public classbase */ InspIRCd* Instance; + std::map > Modules; + public: EventHandlerList EventHandlers; - /** A list of ircd_module* module handles - * Note that this list is always exactly 255 in size. - * The actual number of loaded modules is available from GetModuleCount() - */ - ModuleHandleList handles; - - /** A list of Module* module classes - * Note that this list is always exactly 255 in size. - * The actual number of loaded modules is available from GetModuleCount() - */ - ModuleList modules; - /** Simple, bog-standard, boring constructor. */ ModuleManager(InspIRCd* Ins); -- cgit v1.2.3