summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-08 04:36:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-08 04:36:25 +0000
commit9fcf4100409f2d21f5c01cb074e7323bfef2dafb (patch)
treee20352012d25c01b185ba7d676a625e2e4c21b46 /src/commands.cpp
parent261f37846c68ae03e709726a6ed3fac02360300f (diff)
/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
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
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,""))