Tagesschau-Eilmeldung: Fix

This commit is contained in:
Andreas Bielawski 2016-06-27 22:42:57 +02:00
parent b6a7053540
commit 7366b814fa

View File

@ -92,7 +92,7 @@ function tagesschau_eil:cron(self_plz)
if code ~= 200 then return end
if not data then return end
if data.breakingnews[1] then
if data.breakingnews[1].details ~= last_eil then
if data.breakingnews[1].date ~= last_eil then
local title = '#EIL: *'..data.breakingnews[1].headline..'*'
local news = data.breakingnews[1].shorttext
local posted_at = makeOurDate(data.breakingnews[1].date)..' Uhr'