Software /
code /
prosody
Diff
core/sessionmanager.lua @ 7284:9434a220e549
mod_c2s: Remove use of util.async
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 17 Mar 2016 12:47:24 +0100 |
parent | 6916:d0ab0069145f |
child | 7286:30b9433a9f3e |
child | 7496:98c8d14be4ef |
line wrap: on
line diff
--- a/core/sessionmanager.lua Thu Mar 17 12:46:52 2016 +0100 +++ b/core/sessionmanager.lua Thu Mar 17 12:47:24 2016 +0100 @@ -72,7 +72,6 @@ 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