* Better place to get server name/type
* Servers export 'isSecure'
This commit is contained in:
@@ -54,7 +54,7 @@ function getPredefinedMCIValue(client, code) {
|
||||
UC : function loginCount() { return client.user.properties.login_count.toString(); },
|
||||
ND : function connectedNode() { return client.node.toString(); },
|
||||
IP : function clientIpAddress() { return client.address().address; },
|
||||
ST : function serverType() { return client.session.serverType; },
|
||||
ST : function serverName() { return client.session.serverName; },
|
||||
|
||||
MS : function accountCreated() { return moment(client.user.properties.account_created).format(client.currentTheme.helpers.getDateFormat()); },
|
||||
CS : function currentStatus() { return client.currentStatus; },
|
||||
|
||||
Reference in New Issue
Block a user