Mercurial > prosody-modules
diff mod_pubsub_feeds/mod_pubsub_feeds.lua @ 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 | 9d8efb804a00 |
children | a37e4149ccd1 |
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;