From 2779329b1a91970ada309532bffe57bf1c0790ab Mon Sep 17 00:00:00 2001 From: topkecleon Date: Fri, 15 Apr 2016 01:44:24 -0400 Subject: [PATCH] needless bindings fussing --- bindings.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings.lua b/bindings.lua index 2de684a..7de9beb 100755 --- a/bindings.lua +++ b/bindings.lua @@ -16,6 +16,8 @@ sendRequest = function(url) local dat, res = HTTPS.request(url) + if not dat then return false, res end + local tab = JSON.decode(dat) if not tab.ok then