mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 14:44:40 +02:00
Fix client IP when connected via SSH
This commit is contained in:
parent
27991ec3a0
commit
701f3c9728
3 changed files with 6 additions and 9 deletions
|
@ -91,7 +91,7 @@ function getPredefinedMCIValue(client, code) {
|
|||
UT : function themeId() { return userStatAsString(client, 'theme_id', ''); },
|
||||
UC : function loginCount() { return userStatAsString(client, 'login_count', 0); },
|
||||
ND : function connectedNode() { return client.node.toString(); },
|
||||
IP : function clientIpAddress() { return client.address().address; },
|
||||
IP : function clientIpAddress() { return client.remoteAddress; },
|
||||
ST : function serverName() { return client.session.serverName; },
|
||||
FN : function activeFileBaseFilterName() {
|
||||
const activeFilter = FileBaseFilters.getActiveFilter(client);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue