From: brain Date: Sun, 8 May 2005 04:36:25 +0000 (+0000) Subject: /WHOIS as oper now shows real ip as well as real host X-Git-Tag: v2.0.23~10353 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=9fcf4100409f2d21f5c01cb074e7323bfef2dafb;p=user%2Fhenk%2Fcode%2Finspircd.git /WHOIS as oper now shows real ip as well as real host git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1330 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/commands.cpp b/src/commands.cpp index b8e312688..315caf9b9 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -872,7 +872,7 @@ void handle_whois(char **parameters, int pcnt, userrec *user) WriteServ(user->fd,"311 %s %s %s %s * :%s",user->nick, dest->nick, dest->ident, dest->dhost, dest->fullname); if ((user == dest) || (strchr(user->modes,'o'))) { - WriteServ(user->fd,"378 %s %s :is connecting from *@%s",user->nick, dest->nick, dest->host); + WriteServ(user->fd,"378 %s %s :is connecting from *@%s %s",user->nick, dest->nick, dest->host, dest->ip); } char* cl = chlist(dest,user); if (strcmp(cl,""))