mirror of
https://github.com/hack-chat/main.git
synced 2024-03-22 13:20:33 +08:00
Store the user nick locally but not the password
This commit is contained in:
parent
c06681803b
commit
352b2bb577
|
@ -74,7 +74,7 @@ function join(channel) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (myNick) {
|
if (myNick) {
|
||||||
localStorageSet('my-nick', myNick);
|
localStorageSet('my-nick', myNick.split('#')[0]);
|
||||||
send({ cmd: 'join', channel: channel, nick: myNick });
|
send({ cmd: 'join', channel: channel, nick: myNick });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user