Cleaned up IrcMessageHandler (#3021)

This commit is contained in:
Paweł
2021-07-17 15:09:21 +02:00
committed by GitHub
parent 74c5cca890
commit 91ab8b90a0
4 changed files with 130 additions and 164 deletions
+1 -5
View File
@@ -124,11 +124,7 @@ void TwitchIrcServer::readConnectionMessageReceived(
auto &handler = IrcMessageHandler::instance();
// Below commands enabled through the twitch.tv/membership CAP REQ
if (command == "MODE")
{
handler.handleModeMessage(message);
}
else if (command == "JOIN")
if (command == "JOIN")
{
handler.handleJoinMessage(message);
}