mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-15 08:29:31 +01:00
parent
26e0dae11d
commit
1d10eb934a
@ -3358,7 +3358,7 @@ func (client *Client) rplWhoReply(channel *Channel, target *Client, rb *Response
|
|||||||
if canSeeIPs || client == target {
|
if canSeeIPs || client == target {
|
||||||
// you can only see a target's IP if they're you or you're an oper
|
// you can only see a target's IP if they're you or you're an oper
|
||||||
ip, _ := target.getWhoisActually()
|
ip, _ := target.getWhoisActually()
|
||||||
fIP = ip.String()
|
fIP = utils.IPStringToHostname(ip.String())
|
||||||
}
|
}
|
||||||
params = append(params, fIP)
|
params = append(params, fIP)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user