Fix repeated signal connects on reconnect in irc server (#1576)

This commit is contained in:
pajlada
2020-03-01 06:05:08 -05:00
committed by GitHub
parent 26d3078def
commit 20612a1381
5 changed files with 92 additions and 41 deletions
+2
View File
@@ -27,6 +27,8 @@ TwitchIrcServer::TwitchIrcServer()
, mentionsChannel(new Channel("/mentions", Channel::Type::TwitchMentions))
, watchingChannel(Channel::getEmpty(), Channel::Type::TwitchWatching)
{
this->initializeIrc();
this->pubsub = new PubSub;
// getSettings()->twitchSeperateWriteConnection.connect([this](auto, auto) {