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/users.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/users.cpp') 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 */ -- cgit v1.3.1-10-gc9f91