Fix a bug where chat integration code could try to access an array before it was initialized

develop
knotteye 2021-02-21 13:15:34 -06:00
parent b9d8ddaf5f
commit 90f3c31ffb
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ var xmppJoined: Array<string> = [];
var twitchClient;
var twitchArr: Array<string> = [];
var discordClient;
var liveUsers: Array<any>;
var chatIntegration: Array<any>;
var liveUsers: Array<any> = [];
var chatIntegration: Array<any> = [];
async function init() {
setInterval(updateUsers, 20000);