mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-23 11:12:44 +01:00
commit
096c12fb52
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user