aboutsummaryrefslogtreecommitdiffstats
path: root/src/modmanager_static.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-06-18 21:25:43 +0200
committerGravatar attilamolnar2013-06-18 21:25:43 +0200
commit50ecf259b61eb389559dc24a7c4af718c225ec8d (patch)
treeb0475a42827973ff338e5a1d6b1b56c81dcaac89 /src/modmanager_static.cpp
parentMinor changes to the startup and shutdown code (diff)
downloadinspircd++-50ecf259b61eb389559dc24a7c4af718c225ec8d.tar.gz
inspircd++-50ecf259b61eb389559dc24a7c4af718c225ec8d.tar.bz2
inspircd++-50ecf259b61eb389559dc24a7c4af718c225ec8d.zip
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
Diffstat (limited to 'src/modmanager_static.cpp')
-rw-r--r--src/modmanager_static.cpp2
1 files changed, 1 insertions, 1 deletions
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 (...)