Added missing periods at mod-related messages and some system messages (#5061)

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
fraxx
2024-01-03 13:24:23 +02:00
committed by GitHub
parent a32b962c5d
commit 4a0ef08a00
23 changed files with 52 additions and 50 deletions
+3 -2
View File
@@ -255,7 +255,8 @@ MessageBuilder::MessageBuilder(const BanAction &action, uint32_t count)
this->emplaceSystemTextAndUpdate("banned", text);
if (action.reason.isEmpty())
{
this->emplaceSystemTextAndUpdate(action.target.login, text)
this->emplaceSystemTextAndUpdate(action.target.login + ".",
text)
->setLink({Link::UserInfo, action.target.login});
}
else
@@ -315,7 +316,7 @@ MessageBuilder::MessageBuilder(const UnbanAction &action)
->setLink({Link::UserInfo, action.source.login});
this->emplaceSystemTextAndUpdate(
action.wasBan() ? "unbanned" : "untimedout", text);
this->emplaceSystemTextAndUpdate(action.target.login, text)
this->emplaceSystemTextAndUpdate(action.target.login + ".", text)
->setLink({Link::UserInfo, action.target.login});
this->message().messageText = text;