changeset 2133:85762420a2c0

mod_pubsub_feeds: Use correct loop variable
author Kim Alvefur <zash@zash.se>
date Sun, 20 Mar 2016 12:37:56 +0100
parents b149ea428b81
children bd7744df0b4a
files mod_pubsub_feeds/feeds.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);