* Better place to get server name/type
* Servers export 'isSecure'
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user