diff options
| author | 2012-07-06 15:39:11 +0200 | |
|---|---|---|
| committer | 2013-04-04 19:05:20 +0200 | |
| commit | 8c08130e19247f4a0798613ba6b931cd599115b6 (patch) | |
| tree | fc26068109abc1719c8fb26bcf0f8fe22a19a13b /src/configreader.cpp | |
| parent | Convert InspIRCd::Duration() to be static (diff) | |
| download | inspircd++-8c08130e19247f4a0798613ba6b931cd599115b6.tar.gz inspircd++-8c08130e19247f4a0798613ba6b931cd599115b6.tar.bz2 inspircd++-8c08130e19247f4a0798613ba6b931cd599115b6.zip | |
Make cmd_whowas act like a module, remove special handling
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 2d918cb74..e2ddd4d27 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -26,7 +26,6 @@ #include <fstream> #include "xline.h" #include "exitcodes.h" -#include "commands/cmd_whowas.h" #include "configparser.h" #include <iostream> #ifdef _WIN32 @@ -805,10 +804,6 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid) void ServerConfig::ApplyModules(User* user) { - Module* whowas = ServerInstance->Modules->Find("cmd_whowas.so"); - if (whowas) - WhowasRequest(NULL, whowas, WhowasRequest::WHOWAS_PRUNE).Send(); - const std::vector<std::string> v = ServerInstance->Modules->GetAllModuleNames(0); std::vector<std::string> added_modules; std::set<std::string> removed_modules(v.begin(), v.end()); |
