Changeset

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
parents 3458:9c3ae41e696c
children 3460:742f6e5a4066
files core/s2smanager.lua core/sessionmanager.lua
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)