From 7c92b4e9a1b3b59d3a9e5a96ec7a16968f46a314 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Mon, 17 Nov 2008 18:53:13 +0500 Subject: Fixed s2s manager's send queue to not store recieved stanza objects (as these can chnage after the send call) --- core/s2smanager.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'core') diff --git a/core/s2smanager.lua b/core/s2smanager.lua index c3d9bdb4..dbfc2cb3 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -29,6 +29,7 @@ local srvmap = { ["gmail.com"] = "talk.google.com", ["identi.ca"] = "hampton.con 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 -- cgit v1.2.3