Fix Qt6 building (#4393)
This commit is contained in:
@@ -325,7 +325,7 @@ std::shared_ptr<Channel> TwitchIrcServer::getChannelOrEmptyByID(
|
||||
continue;
|
||||
|
||||
if (twitchChannel->roomId() == channelId &&
|
||||
twitchChannel->getName().splitRef(":").size() < 3)
|
||||
twitchChannel->getName().count(':') < 2)
|
||||
{
|
||||
return twitchChannel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user