aboutsummaryrefslogtreecommitdiffstats
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2012-07-06 15:39:11 +0200
committerGravatar attilamolnar2013-04-04 19:05:20 +0200
commit8c08130e19247f4a0798613ba6b931cd599115b6 (patch)
treefc26068109abc1719c8fb26bcf0f8fe22a19a13b /src/configreader.cpp
parentConvert InspIRCd::Duration() to be static (diff)
downloadinspircd++-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.cpp5
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());