From 8d80eab6491216dd1fd23cd5506c767900aeef51 Mon Sep 17 00:00:00 2001 From: apa420 Date: Wed, 1 May 2019 22:28:46 +0200 Subject: [PATCH] Changed to ref for better performance --- src/providers/twitch/TwitchServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/twitch/TwitchServer.cpp b/src/providers/twitch/TwitchServer.cpp index 0ea4cd37d..2a63b1eb7 100644 --- a/src/providers/twitch/TwitchServer.cpp +++ b/src/providers/twitch/TwitchServer.cpp @@ -269,7 +269,7 @@ std::shared_ptr TwitchServer::getChannelOrEmptyByID( continue; if (twitchChannel->roomId() == channelId && - twitchChannel->getName().split(":").size() < 3) + twitchChannel->getName().splitRef(":").size() < 3) { return twitchChannel; }