From 9fcf4100409f2d21f5c01cb074e7323bfef2dafb Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 8 May 2005 04:36:25 +0000 Subject: [PATCH] /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 --- src/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,"")) -- 2.39.5