3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-25 13:29:27 +01:00

Merge pull request #1866 from slingamn/whox

send `*` for WHOX o (oplevel) instead of `0`
This commit is contained in:
Shivaram Lingamneni 2021-12-12 03:16:03 -05:00 committed by GitHub
commit 0483e3f6ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)