3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 03:49:27 +01:00

Merge pull request #1981 from slingamn/issue1980

fix #1980
This commit is contained in:
Shivaram Lingamneni 2022-07-14 19:07:59 -07:00 committed by GitHub
commit 096c12fb52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3358,7 +3358,7 @@ func (client *Client) rplWhoReply(channel *Channel, target *Client, rb *Response
if canSeeIPs || client == target {
// you can only see a target's IP if they're you or you're an oper
ip, _ := target.getWhoisActually()
fIP = ip.String()
fIP = utils.IPStringToHostname(ip.String())
}
params = append(params, fIP)
}