aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/s2smanager.lua1
-rw-r--r--core/sessionmanager.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index b93542e4..88d6a796 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -540,6 +540,7 @@ local resting_session = { -- Resting, not dead
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 --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index c4dee5b7..d36591bf 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -86,6 +86,7 @@ local resting_session = { -- Resting, not dead
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)