From 9811ccd4fd9a4f31c7e29f86b76e2efc3c32b149 Mon Sep 17 00:00:00 2001 From: ic3w0lf22 Date: Thu, 23 Jun 2022 17:22:49 -0600 Subject: [PATCH] Update 3.2 --- RBX Alt Manager/AccountManager.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/RBX Alt Manager/AccountManager.cs b/RBX Alt Manager/AccountManager.cs index 8120d59..8cb4f09 100644 --- a/RBX Alt Manager/AccountManager.cs +++ b/RBX Alt Manager/AccountManager.cs @@ -685,18 +685,18 @@ private string SendResponse(HttpListenerContext Context) if (Method == "ImportCookie") { Account New = AddAccount(request.QueryString["Cookie"]); - + if (New != null) Context.Response.StatusCode = 200; return New != null ? "true" : "false"; } - if (string.IsNullOrEmpty(Account)) return "Empty Account"; + if (string.IsNullOrEmpty(Account)) return "Empty Account"; Account account = AccountsList.FirstOrDefault(x => x.Username == Account || x.UserID.ToString() == Account); - if (account == null || string.IsNullOrEmpty(account.GetCSRFToken())) return "Invalid Account"; + if (account == null || string.IsNullOrEmpty(account.GetCSRFToken())) return "Invalid Account"; Context.Response.StatusCode = 401; @@ -711,7 +711,7 @@ private string SendResponse(HttpListenerContext Context) if (Method == "LaunchAccount") { - if (!WebServer.Get("AllowLaunchAccount")) return "Method not allowed"; + if (!WebServer.Get("AllowLaunchAccount")) return "Method not allowed"; bool ValidPlaceId = long.TryParse(request.QueryString["PlaceId"], out long PlaceId); if (!ValidPlaceId) return "Invalid PlaceId"; @@ -797,7 +797,7 @@ private string SendResponse(HttpListenerContext Context) } if (Method == "GetField" && !string.IsNullOrEmpty(request.QueryString["Field"])) return account.GetField(request.QueryString["Field"]); - + Context.Response.StatusCode = 401; if (Method == "SetField" && !string.IsNullOrEmpty(request.QueryString["Field"]) && !string.IsNullOrEmpty(request.QueryString["Value"]))