aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-11-21 13:47:45 +0000
committerMatthew Wild <mwild1@gmail.com>2009-11-21 13:47:45 +0000
commitcd82ebe27d0053834d644f6f8b45b445552abf8d (patch)
tree66c319d3c6bf783720eac580ac4c1b57cb5e637f
parentcc932b9c970f5119b7a1ae08111814ff085b9f6d (diff)
downloadprosody-cd82ebe27d0053834d644f6f8b45b445552abf8d.tar.gz
prosody-cd82ebe27d0053834d644f6f8b45b445552abf8d.zip
s2smanager: Don't tostring() the data before sending, sends2s already does this.
-rw-r--r--core/s2smanager.lua2
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