Diff

core/s2smanager.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 3436:9c454c029c26
child 3476:193bb0936a4e
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)