Working WebSocket connections - not yet complete, but working well

This commit is contained in:
Bryan Ashby 2017-05-26 08:25:41 -06:00
parent 3a41a6b2e1
commit 2e18833014
4 changed files with 177 additions and 50 deletions

View file

@ -43,7 +43,7 @@ module.exports = class LoginServerModule extends ServerModule {
}
client.session.serverName = modInfo.name;
client.session.isSecure = modInfo.isSecure || false;
client.session.isSecure = _.isBoolean(client.isSecure) ? client.isSecure : (modInfo.isSecure || false);
clientConns.addNewClient(client, clientSock);