From 8c08130e19247f4a0798613ba6b931cd599115b6 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Fri, 6 Jul 2012 15:39:11 +0200 Subject: Make cmd_whowas act like a module, remove special handling --- src/configreader.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/configreader.cpp') 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 #include "xline.h" #include "exitcodes.h" -#include "commands/cmd_whowas.h" #include "configparser.h" #include #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 v = ServerInstance->Modules->GetAllModuleNames(0); std::vector added_modules; std::set removed_modules(v.begin(), v.end()); -- cgit v1.3.1-10-gc9f91