diff options
Diffstat (limited to 'src/coremods/core_whois.cpp')
-rw-r--r-- | src/coremods/core_whois.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coremods/core_whois.cpp b/src/coremods/core_whois.cpp index 81e62c8e5..c2fac7577 100644 --- a/src/coremods/core_whois.cpp +++ b/src/coremods/core_whois.cpp @@ -177,10 +177,10 @@ void CommandWhois::DoWhois(LocalUser* user, User* dest, unsigned long signon, un { WhoisContextImpl whois(user, dest, lineevprov); - whois.SendLine(311, dest->ident, dest->dhost, '*', dest->fullname); + whois.SendLine(311, dest->ident, dest->GetDisplayedHost(), '*', dest->fullname); if (whois.IsSelfWhois() || user->HasPrivPermission("users/auspex")) { - whois.SendLine(378, InspIRCd::Format("is connecting from %s@%s %s", dest->ident.c_str(), dest->host.c_str(), dest->GetIPString().c_str())); + whois.SendLine(378, InspIRCd::Format("is connecting from %s@%s %s", dest->ident.c_str(), dest->GetRealHost().c_str(), dest->GetIPString().c_str())); } SendChanList(whois); |