Removed some session cruft.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3379 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2017-01-16 13:00:05 +00:00
parent 5200fbc852
commit ba0b3bf465
3 changed files with 4 additions and 9 deletions

View File

@ -1,7 +1,6 @@
"use strict";
var gSocket;
var gSessionId;
var gCredentials;
var gErrorCount = 0;
var gCommandHistory = [];
@ -111,7 +110,6 @@ function receive(data) {
if (line && line.action == "ping") {
gSocket.send(JSON.stringify({action: "pong"}));
} else if (line && line.action == "session") {
gSessionId = line.sessionId;
gCredentials = line.credentials;
updateLogin();
} else if (line && line[0] && line[0].action == "ready") {