aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-08-22 21:23:37 +0100
committerMatthew Wild <mwild1@gmail.com>2010-08-22 21:23:37 +0100
commit85921c4877eb579130d39731ec40549a76e2e992 (patch)
tree6fa40aaa6955a5bcadd7d1758ca573186f5dbfb2 /core/sessionmanager.lua
parentc3d3544fb03746b6988fa3de89f35b25472744fb (diff)
downloadprosody-85921c4877eb579130d39731ec40549a76e2e992.tar.gz
prosody-85921c4877eb579130d39731ec40549a76e2e992.zip
sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua1
1 files changed, 1 insertions, 0 deletions
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)