Forget credentials on /quit
This commit is contained in:
parent
7aa78cc7d9
commit
e4a59aa3a8
1 changed files with 3 additions and 0 deletions
|
@ -270,6 +270,9 @@ function executeCommand(s) {
|
|||
var args = parts.slice(1);
|
||||
switch (cmd) {
|
||||
case "quit":
|
||||
if (localStorage) {
|
||||
localStorage.removeItem("server");
|
||||
}
|
||||
disconnect();
|
||||
break;
|
||||
case "join":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue