mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 20:55:30 +02:00
* Better place to get server name/type
* Servers export 'isSecure'
This commit is contained in:
parent
ad4eea6ba7
commit
12e7722ec9
6 changed files with 13 additions and 20 deletions
|
@ -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; },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue