diff --git a/otouto/plugins/tagesschau_eil.lua b/otouto/plugins/tagesschau_eil.lua index 1347bcc..4a4197c 100644 --- a/otouto/plugins/tagesschau_eil.lua +++ b/otouto/plugins/tagesschau_eil.lua @@ -81,6 +81,7 @@ function tagesschau_eil:cron() if code ~= 200 then return end local data = json.decode(res) if not data then return end + if data.error then return end if data.breakingnews[1] then if data.breakingnews[1].date ~= last_eil then local title = '#EIL: '..data.breakingnews[1].headline..''