~johanvandegriff/live.johanv.xyz

de799b7c74b8f80458226dc6d01c5b0f58bb99a9 — Johan Vandegriff 1 year, 1 month ago 836aedf
disconnect from youtube chat if error
1 files changed, 2 insertions(+), 0 deletions(-)

M server.js
M server.js => server.js +2 -0
@@ 210,6 210,8 @@ function connect_to_youtube_if_not_connected() {
        console.log(error);
        console.log("yt.liveId: " + yt.liveId);
        console.log("yt.chatId: " + yt.chatId);

        yt = null; //disconnect when there is an error
    })

}