From f3f805acb80f4356c1fee0c5e84ad439de91f576 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 12 Dec 2021 03:05:56 -0500 Subject: [PATCH] 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". --- irc/handlers.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/irc/handlers.go b/irc/handlers.go index ecc053ca..38a88bbf 100644 --- a/irc/handlers.go +++ b/irc/handlers.go @@ -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)