irc-framework icon indicating copy to clipboard operation
irc-framework copied to clipboard

irc-framework mishandles RPL_WHOSPCRPL

Open MaxLeiter opened this issue 3 years ago • 0 comments

cc @SadieCat @PolarizedIons

from IRC:

13:22 <Sadie> what you're supposed to do for whox matching is give it a token (flag t) and then use that token in the response  to work out what parameters the server responded with 
13:24 <Sadie> for the record- inspircds whox implementation was written based on snircd readme.who which has a last edited date of 02 Jan 1999, ircv3s is based on that

16:30 <itsonlybinary> tracking the request would be the only way to support custom whox params
16:30 <itsonlybinary> it would also involve parsing outgoing messages and adding them to the event bus

relevant code: https://github.com/kiwiirc/irc-framework/blob/469cbe7b2129ddae0328a7efe91eb218257e98ff/src/commands/handlers/misc.js#L131-L144

https://github.com/kiwiirc/irc-framework/blob/af14f5a9fcd232e77899b7ad66508ac040746d55/src/client.js#L786

MaxLeiter avatar Apr 26 '22 02:04 MaxLeiter