Skip to content
Snippets Groups Projects
Commit 515295bb authored by echicken's avatar echicken
Browse files

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.
parent b52a83b9
Branches
Tags
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment