diff mod_pubsub_feeds/mod_pubsub_feeds.lua @ 796:9e1dab7310c0

mod_pubsub_feeds: Fix method call
author Kim Alvefur <zash@zash.se>
date Wed, 15 Aug 2012 17:25:47 +0200
parents c7f507a190a0
children 68a067d5ed3b
line wrap: on
line diff
--- a/mod_pubsub_feeds/mod_pubsub_feeds.lua	Wed Aug 15 16:49:00 2012 +0200
+++ b/mod_pubsub_feeds/mod_pubsub_feeds.lua	Wed Aug 15 17:25:47 2012 +0200
@@ -47,7 +47,7 @@
 		prosody_blog = "http://blog.prosody.im/feed/atom.xml";
 	};
 	refresh_interval = module:get_option_number("feed_pull_interval", 15) * 60;
-	local nodes = pubsub.service.get_nodes(true);
+	local nodes = pubsub.service:get_nodes(true);
 	local new_feed_list = {};
 	for node, url in pairs(config) do
 		if type(node) == "number" then