diff options
author | Waqas Hussain <waqas20@gmail.com> | 2008-11-17 18:53:13 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2008-11-17 18:53:13 +0500 |
commit | 7c92b4e9a1b3b59d3a9e5a96ec7a16968f46a314 (patch) | |
tree | 86766fe69af3195d87848dbf47d4ca0aac4d9945 /core | |
parent | 4293aefe659dc621166d492f8c91f7031c6774bd (diff) | |
download | prosody-7c92b4e9a1b3b59d3a9e5a96ec7a16968f46a314.tar.gz prosody-7c92b4e9a1b3b59d3a9e5a96ec7a16968f46a314.zip |
Fixed s2s manager's send queue to not store recieved stanza objects (as these can chnage after the send call)
Diffstat (limited to 'core')
-rw-r--r-- | core/s2smanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 |