From 82201421eb2d06f86d8cdda2017100741d6d211d Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Mon, 10 Feb 2003 00:56:58 +0000 Subject: [PATCH] Made ".. did a /whois on you" always show the real host (#0000705). --- Changes | 1 + src/modules/m_whois.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index f47f5aafe..1ca6becc9 100644 --- a/Changes +++ b/Changes @@ -1897,3 +1897,4 @@ seen. gmtime warning still there also in restrict-usermodes. Ofcourse these restrictions do not apply to ircops. Feature suggested Gargo (#0000603). - Fixed a bug in coadmin: global flags were not added (#0000716). +- Made ".. did a /whois on you" always show the real host (#0000705). diff --git a/src/modules/m_whois.c b/src/modules/m_whois.c index 4d7f73638..335cbdeee 100644 --- a/src/modules/m_whois.c +++ b/src/modules/m_whois.c @@ -198,7 +198,7 @@ DLLFUNC int m_whois(aClient *cptr, aClient *sptr, int parc, char *parv[]) sendto_one(acptr, ":%s %s %s :*** %s (%s@%s) did a /whois on you.", me.name, IsWebTV(acptr) ? "PRIVMSG" : "NOTICE", acptr->name, sptr->name, - sptr->user->username, GetHost(sptr)); + sptr->user->username, sptr->user->realhost); } sendto_one(sptr, rpl_str(RPL_WHOISUSER), me.name,