# HG changeset patch # User Kim Alvefur # Date 1458473876 -3600 # Node ID 85762420a2c0f6464d6dcfd55d4c0cbdcb60b8c9 # Parent b149ea428b81e034e5faca0453a83f1edc229c17 mod_pubsub_feeds: Use correct loop variable diff -r b149ea428b81 -r 85762420a2c0 mod_pubsub_feeds/feeds.lib.lua --- a/mod_pubsub_feeds/feeds.lib.lua Sun Mar 20 12:32:45 2016 +0100 +++ b/mod_pubsub_feeds/feeds.lib.lua Sun Mar 20 12:37:56 2016 +0100 @@ -66,7 +66,7 @@ -- TODO channel properties feed:tag("entry"); for item in channel:childtags("item") do - for tag in rss_item:childtags() do + for tag in item:childtags() do local translator = rss2atom[tag.name]; if translator then translator(feed, tag);