* Better place to get server name/type

* Servers export 'isSecure'
This commit is contained in:
Bryan Ashby 2015-10-22 00:03:18 -06:00
parent ad4eea6ba7
commit 12e7722ec9
6 changed files with 13 additions and 20 deletions

View file

@ -193,7 +193,8 @@ function startListening() {
client.session = {};
}
client.session.serverType = moduleInst.getServerType();
client.session.serverName = module.moduleInfo.name;
client.session.isSecure = module.moduleInfo.isSecure || false;
clientConns.addNewClient(client, clientSock);