mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-12 23:43:42 +01:00
Forget credentials on /quit
This commit is contained in:
parent
7aa78cc7d9
commit
e4a59aa3a8
@ -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…
x
Reference in New Issue
Block a user