diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-11-21 13:47:45 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-11-21 13:47:45 +0000 |
commit | cd82ebe27d0053834d644f6f8b45b445552abf8d (patch) | |
tree | 66c319d3c6bf783720eac580ac4c1b57cb5e637f | |
parent | cc932b9c970f5119b7a1ae08111814ff085b9f6d (diff) | |
download | prosody-cd82ebe27d0053834d644f6f8b45b445552abf8d.tar.gz prosody-cd82ebe27d0053834d644f6f8b45b445552abf8d.zip |
s2smanager: Don't tostring() the data before sending, sends2s already does this.
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index bfa3069a..381e5e53 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -402,7 +402,7 @@ function streamopened(session, attr) if send_buffer and #send_buffer > 0 then log("debug", "Sending s2s send_buffer now..."); for i, data in ipairs(send_buffer) do - session.sends2s(tostring(data)); + session.sends2s(data); send_buffer[i] = nil; end end |