Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest

This commit is contained in:
high 2011-09-05 13:59:18 -04:00
commit 89f5d13efb

View file

@ -180,7 +180,8 @@ namespace TShockAPI {
if (ip == null && name == null)
{
returnBlock.Add("Error", "Required parameter missing.");
returnBlock.Add("status", "400");
returnBlock.Add("error", "Required parameters were missing from this API endpoint.");
return returnBlock;
}