From c23aa0657e93727384a488e78834faff8b0cb8c1 Mon Sep 17 00:00:00 2001 From: marzavec Date: Sat, 3 Nov 2018 09:51:05 -0500 Subject: fix issue #42 --- client/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/client.js b/client/client.js index 5cf699f..69db7ad 100644 --- a/client/client.js +++ b/client/client.js @@ -60,7 +60,7 @@ function localStorageSet(key, val) { } var ws; -var myNick = localStorageGet('my-nick'); +var myNick = localStorageGet('my-nick') || ''; var myChannel = window.location.search.replace(/^\?/, ''); var lastSent = [""]; var lastSentPos = 0; -- cgit v1.2.1