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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user