mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-08 01:16:33 +02:00
shouldn't return an error in whatever case this is
This commit is contained in:
@@ -715,7 +715,9 @@ RequestStatus Client::ParseServerReturn(char *result, int status, bool json)
|
||||
json::String error = root["Error"];
|
||||
lastError = std::string(error);
|
||||
if (lastError == "")
|
||||
lastError = "Unspecified Error";
|
||||
{
|
||||
return RequestOkay;
|
||||
}
|
||||
return RequestFailure;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user