From f139675698c819885dca7556b13075075f9f1cf4 Mon Sep 17 00:00:00 2001 From: HitPanda <104197232+EnefFlow@users.noreply.github.com> Date: Mon, 18 Sep 2023 23:46:43 +0300 Subject: [PATCH] [Fix] Socket jobbanEvent job text fix (#416) --- Content.Server/Administration/Managers/RoleBanManager.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Content.Server/Administration/Managers/RoleBanManager.cs b/Content.Server/Administration/Managers/RoleBanManager.cs index 5af9fd28a6..c4bb811608 100644 --- a/Content.Server/Administration/Managers/RoleBanManager.cs +++ b/Content.Server/Administration/Managers/RoleBanManager.cs @@ -407,6 +407,11 @@ public sealed class RoleBanManager private async void UtkaSendJobBanEvent(string ackey, string ckey, uint duration, string job, bool global, string reason, int banId) { + if (job.Contains("Job:")) + { + job = job.Replace("Job:", ""); + } + var utkaBanned = new UtkaBannedEvent() { ACkey = ackey,