mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
Merge pull request #1866 from slingamn/whox
send `*` for WHOX o (oplevel) instead of `0`
This commit is contained in:
commit
0483e3f6ad
1 changed files with 3 additions and 3 deletions
|
|
@ -3319,9 +3319,9 @@ func (client *Client) rplWhoReply(channel *Channel, target *Client, rb *Response
|
||||||
}
|
}
|
||||||
params = append(params, fAccount)
|
params = append(params, fAccount)
|
||||||
}
|
}
|
||||||
if fields.Has('o') { // target's channel power level
|
if fields.Has('o') {
|
||||||
//TODO: implement this
|
// channel oplevel, not implemented
|
||||||
params = append(params, "0")
|
params = append(params, "*")
|
||||||
}
|
}
|
||||||
if fields.Has('r') {
|
if fields.Has('r') {
|
||||||
params = append(params, details.realname)
|
params = append(params, details.realname)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue