Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinary1 committed Nov 2, 2024
1 parent 67e76b4 commit 4b556b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Administration/Managers/BanManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public async void CreateServerBan(NetUserId? target, string? targetUsername, Net
("ip", addressRangeString),
("hwid", hwidString),
("reason", reason),
("round", roundId));
("round", roundId == null ? Loc.GetString("server-ban-unknown-round") : roundId));

_sawmill.Info(logMessage);
_chat.SendAdminAlert(logMessage);
Expand Down
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/_strings/info/ban.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ server-ban-string = { $admin } создал бан на сервере с уро
ban-panel-erase = Стереть сообщения в чате и игрока из раунда
server-ban-string-never = никогда
server-ban-string-no-pii = { $admin } установил серверный бан { $severity } тяжести, который истечёт { $expires } у { $name } с причиной: { $reason }, раунд: { $round }
server-ban-unknown-round = Неизвестный
cmd-ban_exemption_get-arg-player = <player>
# Kick on ban
ban-kick-reason = You have been banned

0 comments on commit 4b556b7

Please sign in to comment.