changeset 717:e79147fb39f9

mod_pubsub_feeds: Fix updating of config
author Kim Alvefur <zash@zash.se>
date Wed, 20 Jun 2012 15:59:45 +0200
parents dac33b8f190b
children a37e4149ccd1
files mod_pubsub_feeds/mod_pubsub_feeds.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;