forked from CringeStudios/gamja
Fix duplicate declaration in State.handleMessage
This commit is contained in:
parent
da4da01e34
commit
a9cfbcd6b6
2
state.js
2
state.js
@ -364,7 +364,7 @@ export const State = {
|
|||||||
break;
|
break;
|
||||||
case irc.RPL_WHOREPLY:
|
case irc.RPL_WHOREPLY:
|
||||||
case irc.RPL_WHOSPCRPL:
|
case irc.RPL_WHOSPCRPL:
|
||||||
let who = client.parseWhoReply(msg);
|
who = client.parseWhoReply(msg);
|
||||||
|
|
||||||
if (who.flags !== undefined) {
|
if (who.flags !== undefined) {
|
||||||
who.away = who.flags.indexOf("G") >= 0; // H for here, G for gone
|
who.away = who.flags.indexOf("G") >= 0; // H for here, G for gone
|
||||||
|
Loading…
x
Reference in New Issue
Block a user