mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-25 05:19:25 +01:00
parent
fb84910635
commit
b14095f7ba
@ -3216,7 +3216,7 @@ func (client *Client) rplWhoReply(channel *Channel, target *Client, rb *Response
|
|||||||
fIP := "255.255.255.255"
|
fIP := "255.255.255.255"
|
||||||
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
|
||||||
fIP = target.IPString()
|
fIP = utils.IPStringToHostname(target.IPString())
|
||||||
}
|
}
|
||||||
params = append(params, fIP)
|
params = append(params, fIP)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user