From 56ba1ca2ee6cc7e06be1d03750f787daf39519f8 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Wed, 6 Nov 2024 18:06:49 +0100 Subject: [PATCH] oopsie 2 --- src/providers/twitch/TwitchIrcServer.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/providers/twitch/TwitchIrcServer.cpp b/src/providers/twitch/TwitchIrcServer.cpp index e61cdb1db..de65ef845 100644 --- a/src/providers/twitch/TwitchIrcServer.cpp +++ b/src/providers/twitch/TwitchIrcServer.cpp @@ -505,21 +505,22 @@ void TwitchIrcServer::initialize() if (hideBlockedTerms) { action.reason = - u"matches %1 blocked term%2"_s.arg( - numBlockedTermsMatched, - numBlockedTermsMatched > 1 ? u"s" - : ""); + u"matches %1 blocked term%2"_s + .arg(numBlockedTermsMatched) + .arg(numBlockedTermsMatched > 1 + ? u"s" + : u""); } else { action.reason = u"matches %1 blocked term%2 \"%3\""_s - .arg(numBlockedTermsMatched, - numBlockedTermsMatched > 1 + .arg(numBlockedTermsMatched) + .arg(numBlockedTermsMatched > 1 ? u"s" - : "", - msg.blockedTermsFound.join( - u"\", \"")); + : u"") + .arg(msg.blockedTermsFound.join( + u"\", \"")); } } else