diff --git a/src/ircmanager.cpp b/src/ircmanager.cpp index ad8691b65..484b7452d 100644 --- a/src/ircmanager.cpp +++ b/src/ircmanager.cpp @@ -76,9 +76,12 @@ Communi::IrcConnection *IrcManager::createConnection(bool doRead) this->refreshTwitchEmotes(username, oauthClient, oauthToken); - connection->sendCommand(Communi::IrcCommand::createCapability("REQ", "twitch.tv/membership")); - connection->sendCommand(Communi::IrcCommand::createCapability("REQ", "twitch.tv/commands")); - connection->sendCommand(Communi::IrcCommand::createCapability("REQ", "twitch.tv/tags")); + if (doRead) { + connection->sendCommand( + Communi::IrcCommand::createCapability("REQ", "twitch.tv/membership")); + connection->sendCommand(Communi::IrcCommand::createCapability("REQ", "twitch.tv/commands")); + connection->sendCommand(Communi::IrcCommand::createCapability("REQ", "twitch.tv/tags")); + } connection->setHost("irc.chat.twitch.tv"); connection->setPort(6667);