From 39529785e00a57089bb25caba763b8744760d372 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Mon, 1 Aug 2016 20:11:22 +0200 Subject: [PATCH] ... --- otouto/plugins/github_feed.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/plugins/github_feed.lua b/otouto/plugins/github_feed.lua index 2cc62dc..8d6e992 100644 --- a/otouto/plugins/github_feed.lua +++ b/otouto/plugins/github_feed.lua @@ -72,7 +72,7 @@ function gh_feed_check_modified(repo, cur_etag, last_date) } } local ok, response_code, response_headers = https.request(request_constructor) - if not response_headers return nil end + if not response_headers then return nil end local data = json.decode(table.concat(response_body)) return false, data, response_headers.etag end