From 2b8fa3839c6c4c5d63f4ab2c1429a492d4e63560 Mon Sep 17 00:00:00 2001 From: "John P (Dgby714)" Date: Sun, 17 Oct 2010 19:02:40 -0400 Subject: [PATCH] Extension: Paster Update. Fixed previous small check. --- Extensions/paster.sex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Extensions/paster.sex b/Extensions/paster.sex index 6446679..f4a157d 100644 --- a/Extensions/paster.sex +++ b/Extensions/paster.sex @@ -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;