Software /
code /
prosody
Diff
core/sessionmanager.lua @ 3459:543f31cdde19
sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 22 Aug 2010 21:23:37 +0100 |
parent | 3437:1e93b4d46d92 |
child | 4230:23b68616b6d8 |
line wrap: on
line diff
--- a/core/sessionmanager.lua Sun Aug 22 21:12:22 2010 +0100 +++ b/core/sessionmanager.lua Sun Aug 22 21:23:37 2010 +0100 @@ -86,6 +86,7 @@ close = function (session) session.log("debug", "Attempt to close already-closed session"); end; + filter = function (type, data) return data; end; }; resting_session.__index = resting_session; function retire_session(session)