forked from cory/tildefriends
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:
@ -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") {
|
||||
|
Reference in New Issue
Block a user