mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Fix crash when invalid token is used to connect to Twitch chat
This commit is contained in:
parent
be6bc48231
commit
1346c19bec
|
|
@ -501,6 +501,7 @@ void TwitchChatConnection::Authenticate()
|
|||
if (!pass.has_value()) {
|
||||
blog(LOG_INFO,
|
||||
"Joining Twitch chat failed due to invalid token!");
|
||||
return;
|
||||
}
|
||||
Send("PASS oauth:" + *pass);
|
||||
Send("NICK " + _token.GetName());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user