From 515295bb0be05d07a8d5b225cd99318daa1bcafe Mon Sep 17 00:00:00 2001
From: echicken <>
Date: Mon, 6 May 2019 03:31:08 +0000
Subject: [PATCH] Sorry, we're no longer allowed to fudge our BBS software name
 or OS & architecture. You're now running SYNCHRONET and whatever
 (system.platform + '_' + system.architecture) resolves to.

---
 xtrn/mrc/mrc-connector.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/xtrn/mrc/mrc-connector.js b/xtrn/mrc/mrc-connector.js
index db68387334..71404bcfd0 100644
--- a/xtrn/mrc/mrc-connector.js
+++ b/xtrn/mrc/mrc-connector.js
@@ -155,10 +155,10 @@ function mrc_connect(host, port) {
     log(LOG_INFO, 'Connecting to ' + host + ':' + port);
     if (!sock.connect(host, port, settings.timeout)) return false;
     const platform = format(
-        'Synchronet %s%s/%s/%s',
-        system.version, system.revision, system.platform, PROTOCOL_VERSION
+        'SYNCHRONET/%s_%s/%s',
+        system.platform, system.architecture, PROTOCOL_VERSION
     ).replace(/\s/g, '_');
-    const line = SYSTEM_NAME + '~' + (system_info.platform || platform);
+    const line = SYSTEM_NAME + '~' + platform;
     log(LOG_DEBUG, 'To MRC: ' + line);
     sock.send(line + '\n');
     while (sock.is_connected) {
-- 
GitLab