Merge pull request #1050 from apa420/apa-pubsub-fix

Changed to ref for better performance #1049
This commit is contained in:
pajlada
2019-05-01 22:36:32 +02:00
committed by GitHub
+1 -1
View File
@@ -269,7 +269,7 @@ std::shared_ptr<Channel> TwitchServer::getChannelOrEmptyByID(
continue;
if (twitchChannel->roomId() == channelId &&
twitchChannel->getName().split(":").size() < 3)
twitchChannel->getName().splitRef(":").size() < 3)
{
return twitchChannel;
}