diff --git a/Content.Server/Content.Server.csproj b/Content.Server/Content.Server.csproj index 8923cb0774..ea79f33285 100644 --- a/Content.Server/Content.Server.csproj +++ b/Content.Server/Content.Server.csproj @@ -14,7 +14,6 @@ - diff --git a/Content.Server/MoMMILink.cs b/Content.Server/MoMMILink.cs index 692dcd59c5..bc7b4aaf01 100644 --- a/Content.Server/MoMMILink.cs +++ b/Content.Server/MoMMILink.cs @@ -6,7 +6,6 @@ using System.Threading.Tasks; using Content.Server.Interfaces; using Content.Server.Interfaces.Chat; using Content.Shared; -using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using Robust.Server.Interfaces.ServerStatus; using Robust.Server.ServerStatus; @@ -74,9 +73,9 @@ namespace Content.Server } } - private bool _handleChatPost(HttpMethod method, HttpRequest request, HttpResponse response) + private bool _handleChatPost(HttpMethod method, HttpListenerRequest request, HttpListenerResponse response) { - if (method != HttpMethod.Post || request.Path != "/ooc") + if (method != HttpMethod.Post || request.Url!.AbsolutePath != "/ooc") { return false; }