From 9330993acb5ac5cf4ef4f8ee719eaeee0f49f67d Mon Sep 17 00:00:00 2001 From: Lamp Date: Thu, 29 Nov 2018 13:16:39 -0800 Subject: [PATCH] this may do --- src/mppbridger/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mppbridger/index.js b/src/mppbridger/index.js index 03877ef..ee352fb 100755 --- a/src/mppbridger/index.js +++ b/src/mppbridger/index.js @@ -66,8 +66,9 @@ global.createMPPbridge = function createMPPbridge(room, DiscordChannelID, site = var isConnected = false; // TODO use gClient.isConnected() ? gClient.on('connect', () => { console.log(`[${site}][${room}] Connected to server`); - dSend(`**Connected to server; joining channel…**`); // TODO say what room it actually connected to ? + dSend(`**Connected to server; joining channel…**`); isConnected = true; + lastError = undefined; }); gClient.on('hi', ()=>{ console.log(`[${site}][${room}] Received greeting`);