diff options
author | Kim Alvefur <zash@zash.se> | 2015-05-14 00:22:56 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-05-14 00:22:56 +0200 |
commit | 9f6130ddaa3ebb231f617261c0f325a8d4bc29d7 (patch) | |
tree | 138caf13843596c4aaf96f61da26a2da69fa8ea2 /core/s2smanager.lua | |
parent | d6a59152ea90202fa09ba8e6ba7386b68978b181 (diff) | |
parent | baf8af6d14d5f42c13dbe9136dfa606e0dc4acf2 (diff) | |
download | prosody-9f6130ddaa3ebb231f617261c0f325a8d4bc29d7.tar.gz prosody-9f6130ddaa3ebb231f617261c0f325a8d4bc29d7.zip |
Merge 0.9->0.10
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r-- | core/s2smanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index a3a8702a..b6516393 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -64,6 +64,7 @@ function retire_session(session, reason) 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 |