diff --git a/plugins/twitch/chat-connection.cpp b/plugins/twitch/chat-connection.cpp index b97315f1..4c5f487d 100644 --- a/plugins/twitch/chat-connection.cpp +++ b/plugins/twitch/chat-connection.cpp @@ -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());