Fix my previous dumb

This commit is contained in:
Bryan Ashby 2019-06-09 09:19:34 -06:00
parent 433ad72752
commit 487968dac9
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ exports.getModule = class mrcModule extends MenuModule {
},
(callback) => {
const connectOpts = {
port : _.get(Config(), 'chatServers.mrc.serverPort', 5000),
port : _.get(Config(), 'chatServers.mrc.multiplexerPort', 5000),
host : 'localhost',
};

View File

@ -104,7 +104,7 @@ exports.getModule = class MrcModule extends ServerModule {
buffer = Buffer.concat([buffer, chunk]);
}
var lines = buffer.toString().split(lineDelimiter);
let lines = buffer.toString().split(lineDelimiter);
if (lines.pop()) {
// if buffer is not ended with \r\n, there's more chunks.