From 352b2bb577b32ff3fdd0af6742fd940fd079a7a4 Mon Sep 17 00:00:00 2001 From: Henry Wright Date: Fri, 3 Aug 2018 20:17:00 +0100 Subject: [PATCH] Store the user nick locally but not the password --- client/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.js b/client/client.js index 1d72c9a..f5fd525 100644 --- a/client/client.js +++ b/client/client.js @@ -74,7 +74,7 @@ function join(channel) { } if (myNick) { - localStorageSet('my-nick', myNick); + localStorageSet('my-nick', myNick.split('#')[0]); send({ cmd: 'join', channel: channel, nick: myNick }); }