diff options
| author | 2013-06-18 21:25:43 +0200 | |
|---|---|---|
| committer | 2013-06-18 21:25:43 +0200 | |
| commit | 50ecf259b61eb389559dc24a7c4af718c225ec8d (patch) | |
| tree | b0475a42827973ff338e5a1d6b1b56c81dcaac89 /src/modmanager_static.cpp | |
| parent | Minor changes to the startup and shutdown code (diff) | |
| download | inspircd++-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.cpp | 2 |
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 (...) |
