mirror of
https://github.com/ergochat/ergo.git
synced 2025-02-16 21:50:39 +01:00
commit
096c12fb52
@ -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…
x
Reference in New Issue
Block a user