diff --git a/RBX Alt Manager/AccountManager.cs b/RBX Alt Manager/AccountManager.cs index 4169bab..e49031e 100644 --- a/RBX Alt Manager/AccountManager.cs +++ b/RBX Alt Manager/AccountManager.cs @@ -621,7 +621,7 @@ private string SendResponse(HttpListenerRequest request) if (Method == "GetAccounts") { - if (WebServer.Get("AllowGetAccounts")) return "Method not allowed"; + if (!WebServer.Get("AllowGetAccounts")) return "Method not allowed"; string Names = ""; @@ -641,14 +641,14 @@ private string SendResponse(HttpListenerRequest request) if (Method == "GetCookie") { - if (WebServer.Get("AllowGetCookie")) return "Method not allowed"; + if (!WebServer.Get("AllowGetCookie")) return "Method not allowed"; return account.SecurityToken; } 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"; @@ -700,7 +700,7 @@ private string SendResponse(HttpListenerRequest request) if (Method == "GetField" && !string.IsNullOrEmpty(request.QueryString["Field"])) return account.GetField(request.QueryString["Field"]); if (Method == "SetField" && !string.IsNullOrEmpty(request.QueryString["Field"]) && !string.IsNullOrEmpty(request.QueryString["Value"])) { - if (WebServer.Get("AllowAccountEditing")) return "Method not allowed"; + if (!WebServer.Get("AllowAccountEditing")) return "Method not allowed"; account.SetField(request.QueryString["Field"], request.QueryString["Value"]); @@ -708,7 +708,7 @@ private string SendResponse(HttpListenerRequest request) } if (Method == "RemoveField" && !string.IsNullOrEmpty(request.QueryString["Field"])) { - if (WebServer.Get("AllowAccountEditing")) return "Method not allowed"; + if (!WebServer.Get("AllowAccountEditing")) return "Method not allowed"; account.RemoveField(request.QueryString["Field"]); @@ -719,7 +719,7 @@ private string SendResponse(HttpListenerRequest request) if (Method == "SetAlias" && !string.IsNullOrEmpty(Body)) { - if (WebServer.Get("AllowAccountEditing")) return "Method not allowed"; + if (!WebServer.Get("AllowAccountEditing")) return "Method not allowed"; account.Alias = Body; UpdateAccountView(account); @@ -728,7 +728,7 @@ private string SendResponse(HttpListenerRequest request) } if (Method == "SetDescription" && !string.IsNullOrEmpty(Body)) { - if (WebServer.Get("AllowAccountEditing")) return "Method not allowed"; + if (!WebServer.Get("AllowAccountEditing")) return "Method not allowed"; account.Description = Body; UpdateAccountView(account); @@ -737,7 +737,7 @@ private string SendResponse(HttpListenerRequest request) } if (Method == "AppendDescription" && !string.IsNullOrEmpty(Body)) { - if (WebServer.Get("AllowAccountEditing")) return "Method not allowed"; + if (!WebServer.Get("AllowAccountEditing")) return "Method not allowed"; account.Description += Body; UpdateAccountView(account); diff --git a/RBX Alt Manager/Properties/AssemblyInfo.cs b/RBX Alt Manager/Properties/AssemblyInfo.cs index 14dde41..b95deca 100644 --- a/RBX Alt Manager/Properties/AssemblyInfo.cs +++ b/RBX Alt Manager/Properties/AssemblyInfo.cs @@ -32,4 +32,4 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("3.1.0.0")] +[assembly: AssemblyFileVersion("3.1.1.0")]