Mercurial > prosody-modules
comparison 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 |
comparison
equal
deleted
inserted
replaced
716:dac33b8f190b | 717:e79147fb39f9 |
---|---|
67 feed_list[node] = nil; | 67 feed_list[node] = nil; |
68 end | 68 end |
69 end | 69 end |
70 end | 70 end |
71 update_config(); | 71 update_config(); |
72 module:hook("config-reloaded", update_config); | 72 module:hook_global("config-reloaded", update_config); |
73 | 73 |
74 local actor = module.host.."/"..module.name; | 74 local actor = module.host.."/"..module.name; |
75 | 75 |
76 function update_entry(item) | 76 function update_entry(item) |
77 local node = item.node; | 77 local node = item.node; |