Changed to ref for better performance
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user