Author: Stephane Thiell <mbuna@undernet.org>
[ircu2.10.12-pk.git] / ircd / m_whois.c
index 79a7205deb9865f2af543bcea53ba7c32badce0a..506fbc42c1a4919373d21e06f5b4ab785ad3df7f 100644 (file)
@@ -441,14 +441,6 @@ int ms_whois(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 
   if (parc > 2)
   {
-    struct Client *acptr;
-    /* For convenience: Accept a nickname as first parameter, by replacing
-     * it with the correct servername - as is needed by hunt_server().
-     * This is the secret behind the /whois nick nick trick.
-     */
-    acptr = FindUser(parv[1]);
-    if (acptr)
-      parv[1] = cli_name(cli_user(acptr)->server);
     if (hunt_server_cmd(sptr, CMD_WHOIS, cptr, 0, "%C :%s", 1, parc, parv) !=
         HUNTED_ISME)
       return 0;