Store WHO list in RPL_ENDOFWHO
This allows the state-tracker to figure out whether a WHO query returned no result.
This commit is contained in:
parent
c11bf6508a
commit
55361c5a2b
2 changed files with 8 additions and 6 deletions
|
@ -303,6 +303,13 @@ export default class Client extends EventTarget {
|
|||
case irc.RPL_ENDOFWHOIS:
|
||||
this.endPendingList("WHOIS " + msg.params[1], msg);
|
||||
break;
|
||||
case irc.RPL_WHOREPLY:
|
||||
case irc.RPL_WHOSPCRPL:
|
||||
this.pushPendingList("WHO", msg);
|
||||
break;
|
||||
case irc.RPL_ENDOFWHO:
|
||||
this.endPendingList("WHO", msg);
|
||||
break;
|
||||
case irc.ERR_NICKLOCKED:
|
||||
case irc.ERR_SASLFAIL:
|
||||
case irc.ERR_SASLTOOLONG:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue