Fix a bug where chat integration code could try to access an array before it was initialized
parent
b9d8ddaf5f
commit
90f3c31ffb
|
@ -13,8 +13,8 @@ var xmppJoined: Array<string> = [];
|
||||||
var twitchClient;
|
var twitchClient;
|
||||||
var twitchArr: Array<string> = [];
|
var twitchArr: Array<string> = [];
|
||||||
var discordClient;
|
var discordClient;
|
||||||
var liveUsers: Array<any>;
|
var liveUsers: Array<any> = [];
|
||||||
var chatIntegration: Array<any>;
|
var chatIntegration: Array<any> = [];
|
||||||
|
|
||||||
async function init() {
|
async function init() {
|
||||||
setInterval(updateUsers, 20000);
|
setInterval(updateUsers, 20000);
|
||||||
|
|
Reference in New Issue