Mercurial > prosody-modules
changeset 606:a9249614b0fe
mod_carbons: Use session.send instead of passing carbon through all the routing
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 12 Feb 2012 16:35:54 +0100 (2012-02-12) |
parents | 5175f6d33470 |
children | 121762432eb1 |
files | mod_carbons/mod_carbons.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_carbons/mod_carbons.lua Thu Feb 09 13:06:14 2012 +0100 +++ b/mod_carbons/mod_carbons.lua Sun Feb 12 16:35:54 2012 +0100 @@ -103,7 +103,7 @@ :tag("forwarded", { xmlns = xmlns_forward }) :add_child(msg); module:log("debug", "Sending carbon"); - core_post_stanza(origin, fwd); + session.send(fwd); end end end