mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-21 19:39:43 +01:00
Merge pull request #1866 from slingamn/whox
send `*` for WHOX o (oplevel) instead of `0`
This commit is contained in:
commit
0483e3f6ad
@ -3319,9 +3319,9 @@ func (client *Client) rplWhoReply(channel *Channel, target *Client, rb *Response
|
||||
}
|
||||
params = append(params, fAccount)
|
||||
}
|
||||
if fields.Has('o') { // target's channel power level
|
||||
//TODO: implement this
|
||||
params = append(params, "0")
|
||||
if fields.Has('o') {
|
||||
// channel oplevel, not implemented
|
||||
params = append(params, "*")
|
||||
}
|
||||
if fields.Has('r') {
|
||||
params = append(params, details.realname)
|
||||
|
Loading…
Reference in New Issue
Block a user