This commit is contained in:
Rasmus Karlsson 2024-11-06 18:06:49 +01:00
parent 8a69861ead
commit 56ba1ca2ee
No known key found for this signature in database

View file

@ -505,20 +505,21 @@ 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"")
.arg(msg.blockedTermsFound.join(
u"\", \""));
}
}