diff options
| author | 2012-07-06 15:39:11 +0200 | |
|---|---|---|
| committer | 2013-04-04 19:05:20 +0200 | |
| commit | 8c08130e19247f4a0798613ba6b931cd599115b6 (patch) | |
| tree | fc26068109abc1719c8fb26bcf0f8fe22a19a13b /src/users.cpp | |
| parent | Convert InspIRCd::Duration() to be static (diff) | |
Make cmd_whowas act like a module, remove special handling
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/users.cpp b/src/users.cpp index 4241b8f81..5058cfcc2 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -28,7 +28,6 @@ #include "socketengine.h" #include "xline.h" #include "bancache.h" -#include "commands/cmd_whowas.h" already_sent_t LocalUser::already_sent_id = 0; @@ -688,18 +687,6 @@ void User::UnOper() this->modes[UM_OPERATOR] = 0; } -/* adds or updates an entry in the whowas list */ -void User::AddToWhoWas() -{ - Module* whowas = ServerInstance->Modules->Find("cmd_whowas.so"); - if (whowas) - { - WhowasRequest req(NULL, whowas, WhowasRequest::WHOWAS_ADD); - req.user = this; - req.Send(); - } -} - /* * Check class restrictions */ |
