mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-21 08:45:06 -05:00
Extension: Paster Update. Fixed previous small check.
This commit is contained in:
parent
c59ea5df02
commit
2b8fa3839c
@ -47,7 +47,7 @@ begin
|
||||
Exit;
|
||||
end;
|
||||
|
||||
if (not ((Data[1] = '{') and (Data[Length(Data)] = '}'))) then
|
||||
if (not ((Data[1] = '{') and (Data[Length(Data) - 1] = '}'))) then
|
||||
begin
|
||||
Data := '{"data": null, "error": "Host \"' + HOST + '\" is not a LodgeIt Server!"}';
|
||||
Result := False;
|
||||
|
Loading…
Reference in New Issue
Block a user