1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00

4.0.0-rc12.14

Revert to the previous version, 4.0.0-rc12.14, because Twitch rolled back changes to their chat handler. This is probably temporary.
This commit is contained in:
SirStendec 2018-08-28 09:45:53 -04:00
parent 380037d64c
commit 513174fad8
7 changed files with 132 additions and 219 deletions

View file

@ -75,11 +75,10 @@ export default class SocketClient extends Module {
// We don't have our own IRC connection yet, so the site's chat has to do.
const _chat = this.resolve('site.chat');
const chat = _chat && _chat.ChatService.first;
const con = chat.client && chat.client.connection;
const chat = _chat && _chat.currentChat;
const con = chat.chatService && chat.chatService.client && chat.chatService.client.connection;
if (con && con.send)
con.send(`PRIVMSG #frankerfacezauthorizer :AUTH ${challenge}`);
if (con && con.send) con.send(`PRIVMSG #frankerfacezauthorizer :AUTH ${challenge}`);
});