aboutsummaryrefslogtreecommitdiffstats
path: root/core
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
commit38dc47caaef527891f068fb666af55f41ee3cb5b (patch)
tree4afba8dab5c9c8b07f03cfa92e5ff9fd9fc378d0 /core
parent49d04cec1d78f63d0107dfb8ee7b151b0db7b552 (diff)
downloadprosody-38dc47caaef527891f068fb666af55f41ee3cb5b.tar.gz
prosody-38dc47caaef527891f068fb666af55f41ee3cb5b.zip
s2smanager: Don't tostring() the data before sending, sends2s already does this.
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 4c61eaa3..aa6de317 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -391,7 +391,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