Fix duplicate declaration in State.handleMessage
This commit is contained in:
parent
da4da01e34
commit
a9cfbcd6b6
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue