]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/users.cpp
ListModeBase: Minor changes to original u_listmode code
[user/henk/code/inspircd.git] / src / users.cpp
index 4241b8f81aded1e79c61210933befa44944d8048..5058cfcc24503d18da5265b1aca3d8769af26b4e 100644 (file)
@@ -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
  */