changeset 760 | 442f88b49d9b |
parent 415 | 3ba1a5b9d657 |
child 935 | f66a08f208ad |
--- a/mod_addressing/mod_addressing.lua Wed Aug 01 02:29:01 2012 +0200 +++ b/mod_addressing/mod_addressing.lua Wed Aug 01 02:30:30 2012 +0200 @@ -33,7 +33,7 @@ for _, destination in ipairs(destinations) do stanza.attr.to = destination; module:log("debug", "posting stanza to %s", destination) - core_post_stanza(hosts[module.host], stanza); + module:send(stanza); end stanza.attr.to = orig_to; return stanza.attr.to == module.host or nil;