From 6db1752670949701536820442146b949b0923a2f Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Mon, 1 Aug 2016 19:56:33 +0200 Subject: [PATCH] GH-Feed: Fix --- otouto/plugins/github_feed.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/otouto/plugins/github_feed.lua b/otouto/plugins/github_feed.lua index 466bb8c..bda2d26 100644 --- a/otouto/plugins/github_feed.lua +++ b/otouto/plugins/github_feed.lua @@ -271,6 +271,7 @@ function gh_feed:cron(self_plz) local last_date = redis:get(gh_feed_get_base_redis(repo, "date")) local was_not_modified, data, last_etag = gh_feed_check_modified(repo, cur_etag, last_date) if not was_not_modified then + if not data then return end -- When there are new commits local last_commit = redis:get(gh_feed_get_base_redis(repo, "last_commit")) text = ''