From 368c616d3e340d73c129e1dd900d02ae58851357 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Mon, 11 Dec 2017 15:59:44 +0100 Subject: [PATCH] Use 403 forbidden for no SteamOwnerID --- ArchiSteamFarm/IPC.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/IPC.cs b/ArchiSteamFarm/IPC.cs index c78cfb7c5..a72e7e8fd 100644 --- a/ArchiSteamFarm/IPC.cs +++ b/ArchiSteamFarm/IPC.cs @@ -276,7 +276,7 @@ namespace ArchiSteamFarm { } if (Program.GlobalConfig.SteamOwnerID == 0) { - await ResponseJsonObject(request, response, new GenericResponse(false, string.Format(Strings.ErrorIsInvalid, nameof(Program.GlobalConfig.SteamOwnerID))), HttpStatusCode.ServiceUnavailable).ConfigureAwait(false); + await ResponseJsonObject(request, response, new GenericResponse(false, string.Format(Strings.ErrorIsInvalid, nameof(Program.GlobalConfig.SteamOwnerID))), HttpStatusCode.Forbidden).ConfigureAwait(false); return true; }