Sun, 22 Aug 2010 21:23:37 +0100
sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202
core/s2smanager.lua | file | annotate | diff | comparison | revisions | |
core/sessionmanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/s2smanager.lua Sun Aug 22 21:12:22 2010 +0100 +++ b/core/s2smanager.lua Sun Aug 22 21:23:37 2010 +0100 @@ -540,6 +540,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)
--- 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)