Software /
code /
prosody
Changeset
2760:604db849f111
s2smanager: Don't tostring() the data before sending, sends2s already does this.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 21 Nov 2009 13:47:45 +0000 |
parents | 2713:1fc95582d74b |
children | 2761:5d3ad9a6b3be |
files | core/s2smanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Thu Feb 25 17:54:23 2010 +0000 +++ b/core/s2smanager.lua Sat Nov 21 13:47:45 2009 +0000 @@ -402,7 +402,7 @@ 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