diff options
author | marzavec <admin@marzavec.com> | 2018-11-03 15:51:05 +0100 |
---|---|---|
committer | marzavec <admin@marzavec.com> | 2018-11-03 15:51:05 +0100 |
commit | c23aa0657e93727384a488e78834faff8b0cb8c1 (patch) | |
tree | 5e98d0045ffd25753bbadb2fc87a4c8e5b77de16 /client | |
parent | added auto reply to whisper using /r text hook (diff) | |
download | hackchat-c23aa0657e93727384a488e78834faff8b0cb8c1.tar.gz hackchat-c23aa0657e93727384a488e78834faff8b0cb8c1.zip |
fix issue #42
Diffstat (limited to '')
-rw-r--r-- | client/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; |