Software /
code /
prosody
Diff
plugins/mod_pubsub.lua @ 5014:b2006c1cfa85
mod_announce, mod_motd, mod_pubsub, mod_register, mod_watchregistrations, mod_welcome: Use module:send() instead of core_*_stanza()
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 26 Jul 2012 04:35:13 +0200 |
parent | 4795:8a105eb8aeae |
child | 5304:67a49d47ef39 |
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua Thu Jul 26 04:33:17 2012 +0200 +++ b/plugins/mod_pubsub.lua Thu Jul 26 04:35:13 2012 +0200 @@ -201,7 +201,7 @@ for jid in pairs(jids) do module:log("debug", "Sending notification to %s", jid); message.attr.to = jid; - core_post_stanza(hosts[module.host], message); + module:send(message); end end