Software /
code /
prosody
Diff
core/s2smanager.lua @ 6692:93eefa92527d
Merge 0.9->0.10
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 14 May 2015 00:22:56 +0200 |
parent | 6663:d3023dd07cb6 |
parent | 6691:c6c996410064 |
child | 6779:6236668da30a |
line wrap: on
line diff
--- a/core/s2smanager.lua Wed May 13 22:32:40 2015 +0200 +++ b/core/s2smanager.lua Thu May 14 00:22:56 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