Software /
code /
prosody-modules
Diff
mod_support_contact/mod_support_contact.lua @ 777:e5413b66aeec
mod_support_contact: Use module:send()
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 05 Aug 2012 02:33:29 +0100 |
parent | 100:999a4b3e699b |
child | 986:8b1250df82e8 |
line wrap: on
line diff
--- a/mod_support_contact/mod_support_contact.lua Sun Aug 05 02:32:17 2012 +0100 +++ b/mod_support_contact/mod_support_contact.lua Sun Aug 05 02:33:29 2012 +0100 @@ -43,6 +43,6 @@ rostermanager.save_roster(node, host, roster); rostermanager.roster_push(node, host, jid); else - core_post_stanza(hosts[event.host], st.presence({from=jid, to=support_contact, type="subscribe"})); + module:send(st.presence({from=jid, to=support_contact, type="subscribe"})); end end);