From 446bde3af0522fc6a874060ca7fe3568d13ae77f Mon Sep 17 00:00:00 2001 From: HitPanda <104197232+EnefFlow@users.noreply.github.com> Date: Thu, 8 Jun 2023 16:53:11 +0300 Subject: [PATCH] [Fix] Socket quick fix (#157) --- Content.Server/UtkaIntegration/TCP/UtkaTCPSession.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/UtkaIntegration/TCP/UtkaTCPSession.cs b/Content.Server/UtkaIntegration/TCP/UtkaTCPSession.cs index 3b3bbc1c2e..3938996018 100644 --- a/Content.Server/UtkaIntegration/TCP/UtkaTCPSession.cs +++ b/Content.Server/UtkaIntegration/TCP/UtkaTCPSession.cs @@ -88,7 +88,7 @@ public sealed class UtkaTCPSession : TcpSession if (i + 1 == handles.Length && !BufferCahce.EndsWith("&%^sep^%&")) continue; - if (handle.Length == 0 || !handle.StartsWith("{\"") || !handle.EndsWith("\"}")) + if (handle.Length == 0 || !handle.StartsWith("{") || !handle.EndsWith("}")) continue; var pos = BufferCahce.IndexOf(handle);