fix announce channel join/change not working on reconnect

This commit is contained in:
Lamp 2018-11-26 14:50:17 -08:00
parent 3b6a60dd87
commit 6c992d7e07
No known key found for this signature in database
GPG Key ID: 0F1F8704BEDE369E
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ global.createMPPbridge = function createMPPbridge(room, DiscordChannelID, site =
lastCh = msg.ch._id; lastCh = msg.ch._id;
}); });
gClient.on("disconnect", () => lastCh = undefined);
} }