# HG changeset patch # User Matthew Wild # Date 1282508617 -3600 # Node ID 543f31cdde1982708a2b1e81943ff8fd9083872b # Parent 9c3ae41e696c5a2ceb6ec9afee8e1eea7f2a2f43 sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202 diff -r 9c3ae41e696c -r 543f31cdde19 core/s2smanager.lua --- 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) diff -r 9c3ae41e696c -r 543f31cdde19 core/sessionmanager.lua --- 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)