summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/modules.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/modules.h b/include/modules.h
index 118d9ea1c..f3f40d458 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1173,10 +1173,6 @@ class CoreExport ModuleManager
*/
std::string LastModuleError;
- /** Total number of modules loaded into the ircd
- */
- int ModCount;
-
/** List of loaded modules and shared object/dll handles
* keyed by module name
*/
@@ -1310,14 +1306,6 @@ class CoreExport ModuleManager
void UnloadAll();
void DoSafeUnload(Module*);
- /** Get the total number of currently loaded modules
- * @return The number of loaded modules
- */
- int GetCount()
- {
- return this->ModCount;
- }
-
/** Find a module by name, and return a Module* to it.
* This is preferred over iterating the module lists yourself.
* @param name The module name to look up