From a9cfbcd6b6394b0321dd121fe381db54488f3aee Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 21 Sep 2021 17:24:13 +0200 Subject: [PATCH] Fix duplicate declaration in State.handleMessage --- state.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state.js b/state.js index e095007..32bd30c 100644 --- a/state.js +++ b/state.js @@ -364,7 +364,7 @@ export const State = { break; case irc.RPL_WHOREPLY: case irc.RPL_WHOSPCRPL: - let who = client.parseWhoReply(msg); + who = client.parseWhoReply(msg); if (who.flags !== undefined) { who.away = who.flags.indexOf("G") >= 0; // H for here, G for gone