forked from External/ergo
send * for WHOX o (oplevel) instead of 0
Jobe points out that 0 is a valid oplevel in some contexts, * is a better placeholder for "unimplemented".
This commit is contained in:
parent
bfae13aad9
commit
122a232eed
1 changed files with 3 additions and 3 deletions
|
|
@ -3275,9 +3275,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