From 50ecf259b61eb389559dc24a7c4af718c225ec8d Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Tue, 18 Jun 2013 21:25:43 +0200 Subject: Remove dead code from the InspIRCd and CommandParser classes and typedefs.h Removed functions: InspIRCd: - Restart() - unused - DoSocketTimeouts() - no implementation exists - AddCommand() - useless wrapper around ModuleManager::AddService() CommandParser: - IsValidCommand() - unused - ProcessParameters() - no implementation exists --- src/modmanager_static.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modmanager_static.cpp') diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp index c82ee3f7a..44c36919b 100644 --- a/src/modmanager_static.cpp +++ b/src/modmanager_static.cpp @@ -58,7 +58,7 @@ class AllModule : public Module { Command* c = (*i)(this); cmds.push_back(c); - ServerInstance->AddCommand(c); + ServerInstance->Modules->AddService(*c); } } catch (...) -- cgit v1.3.1-10-gc9f91