Add the # to RPL_ENDOFWHO for an unknown channel over HTTP (closes #249)
check / check (push) Waiting to run

WHO over the HTTP API adds a missing # to the channel name, but the
unknown-channel path sent RPL_ENDOFWHO with the name as sent. A client
keyed on the channel name saw two spellings. Both paths now send the
name with the #.

Model: opus-5-5
This commit was merged in pull request #252.
This commit is contained in:
2026-11-03 08:38:44 +01:00
parent 254873a656
commit 4221f71920
2 changed files with 26 additions and 1 deletions
+1 -1
View File
@@ -3238,7 +3238,7 @@ func (hdlr *Handlers) handleWho(
// 315 RPL_ENDOFWHO (empty result)
hdlr.enqueueNumeric(
ctx, clientID, irc.RplEndOfWho, nick,
[]string{target},
[]string{channel},
"End of /WHO list",
)
hdlr.broker.Notify(sessionID)