Tweak to MRC handshake

This commit is contained in:
David Stephens 2019-05-31 21:19:29 +01:00
parent 793c05ee82
commit 19e10bb096
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ exports.getModule = class MrcModule extends ServerModule {
const boardName = config.general.prettyBoardName || config.general.boardName; const boardName = config.general.prettyBoardName || config.general.boardName;
const enigmaVersion = 'ENiGMA½-BBS_' + require('../../../package.json').version; const enigmaVersion = 'ENiGMA½-BBS_' + require('../../../package.json').version;
const handshake = `${boardName}~${enigmaVersion}/${os.platform()}-${os.arch()}/${protocolVersion}`; const handshake = `${boardName}~${enigmaVersion}/${os.platform()}.${os.arch()}/${protocolVersion}`;
this.log.debug({ handshake : handshake }, 'Handshaking with MRC server'); this.log.debug({ handshake : handshake }, 'Handshaking with MRC server');
this.sendRaw(handshake); this.sendRaw(handshake);