mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-11 11:47:41 -05:00
Fix crash when invalid token is used to connect to Twitch chat
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user