# HG changeset patch # User Waqas Hussain # Date 1226929993 -18000 # Node ID 9439362caacca87334d0827e74441bdfec3f2acb # Parent 99a8317d123564ba5ad87d87da5dfed42528175f Fixed s2s manager's send queue to not store recieved stanza objects (as these can chnage after the send call) diff -r 99a8317d1235 -r 9439362caacc core/s2smanager.lua --- a/core/s2smanager.lua Mon Nov 17 13:51:47 2008 +0500 +++ b/core/s2smanager.lua Mon Nov 17 18:53:13 2008 +0500 @@ -29,6 +29,7 @@ module "s2smanager" function send_to_host(from_host, to_host, data) + if data.name then data = tostring(data); end local host = hosts[from_host].s2sout[to_host]; if host then -- We have a connection to this host already