From e1efa862f373aacefa027f346c0976f802818727 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Nov 2007 19:28:22 +0000 Subject: Not yet tested: remove last vestiges of modules[] and module_names[] arrays. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8514 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 49fd0da50..908a3e264 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1642,18 +1642,6 @@ class CoreExport ModuleManager : public classbase */ Module* Find(const std::string &name); - /** Remove a module handle pointer - * @param j Index number of the module handle to remove - * @return True if a handle existed at the given index, false otherwise - */ - bool EraseHandle(unsigned int j); - - /** Remove a Module pointer - * @param j Index number of the Module to remove - * @return True if a handle existed at the given index, false otherwise - */ - bool EraseModule(unsigned int j); - /** Publish a 'feature'. * There are two ways for a module to find another module it depends on. * Either by name, using InspIRCd::FindModule, or by feature, using this @@ -1756,6 +1744,8 @@ class CoreExport ModuleManager : public classbase * @return The module name or an empty string */ const std::string& GetModuleName(Module* m); + + const std::vector GetAllModuleNames(int filter); }; /** This definition is used as shorthand for the various classes -- cgit v1.2.3