aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-17 12:47:24 +0100
committerKim Alvefur <zash@zash.se>2016-03-17 12:47:24 +0100
commit13099c75ece5abcf46e0af3f691242e086cf1197 (patch)
treefa5c0c21ffa3d036e15c933567817134ee1d48ea /core/sessionmanager.lua
parent4f0eecb472e8242eaeaf53e0dbc526609851a381 (diff)
downloadprosody-13099c75ece5abcf46e0af3f691242e086cf1197.tar.gz
prosody-13099c75ece5abcf46e0af3f691242e086cf1197.zip
mod_c2s: Remove use of util.async
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index 6aa0a4f0..c8856634 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -72,7 +72,6 @@ local function retire_session(session)
function session.send(data) log("debug", "Discarding data sent to resting session: %s", tostring(data)); return false; end
function session.data(data) log("debug", "Discarding data received from resting session: %s", tostring(data)); end
- session.thread = { run = function (_, data) return session.data(data) end };
return setmetatable(session, resting_session);
end