mod_pubsub_feeds: Fix updating of config
authorKim Alvefur <zash@zash.se>
Wed, 20 Jun 2012 15:59:45 +0200
changeset 717 e79147fb39f9
parent 716 dac33b8f190b
child 718 a37e4149ccd1
mod_pubsub_feeds: Fix updating of config
mod_pubsub_feeds/mod_pubsub_feeds.lua
--- a/mod_pubsub_feeds/mod_pubsub_feeds.lua	Wed Jun 20 15:18:48 2012 +0200
+++ b/mod_pubsub_feeds/mod_pubsub_feeds.lua	Wed Jun 20 15:59:45 2012 +0200
@@ -69,7 +69,7 @@
 	end
 end
 update_config();
-module:hook("config-reloaded", update_config);
+module:hook_global("config-reloaded", update_config);
 
 local actor = module.host.."/"..module.name;