aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-05-14 00:24:21 +0200
committerKim Alvefur <zash@zash.se>2015-05-14 00:24:21 +0200
commit6b32fb12b118afd85c6efbf35187a9298ace9167 (patch)
tree887ef8ce4128251eb52ba5753584e8262a89d492 /core
parent068e6374d06f4ba750195da7f6212a1a6ac72636 (diff)
parent26b55b19d692b66c9f09a933c419641af863e94a (diff)
downloadprosody-6b32fb12b118afd85c6efbf35187a9298ace9167.tar.gz
prosody-6b32fb12b118afd85c6efbf35187a9298ace9167.zip
Merge 0.10->trunk
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua1
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