Software /
code /
prosody
Changeset
6693:365f0f885aa5
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 14 May 2015 00:24:21 +0200 (2015-05-13) |
parents | 6690:b2e89583d6e6 (current diff) 6692:93eefa92527d (diff) |
children | 6705:c269ab6ab98a |
files | |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Wed May 13 22:33:40 2015 +0200 +++ b/core/s2smanager.lua Thu May 14 00:24:21 2015 +0200 @@ -64,6 +64,7 @@ function session.send(data) log("debug", "Discarding data sent to resting session: %s", tostring(data)); end function session.data(data) log("debug", "Discarding data received from resting session: %s", tostring(data)); end + session.sends2s = session.send; return setmetatable(session, resting_session); end