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.16

Return to version 4.0.0-rc12.16 because Twitch pushed their changes live again. Whee.
This commit is contained in:
SirStendec 2018-08-28 19:13:26 -04:00
parent 513174fad8
commit cf0245204e
7 changed files with 219 additions and 132 deletions

View file

@ -75,10 +75,11 @@ 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.currentChat;
const con = chat.chatService && chat.chatService.client && chat.chatService.client.connection;
const chat = _chat && _chat.ChatService.first;
const con = chat.client && chat.client.connection;
if (con && con.send) con.send(`PRIVMSG #frankerfacezauthorizer :AUTH ${challenge}`);
if (con && con.send)
con.send(`PRIVMSG #frankerfacezauthorizer :AUTH ${challenge}`);
});