diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-03-14 02:56:57 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-03-14 02:56:57 +0000 |
commit | 82d5e5fd0ce5e5c7682d8f0211a352fd8bd97efd (patch) | |
tree | 3ac8c86c860b44af9264f3721cadb6962f1ea51b /core/s2smanager.lua | |
parent | 8e4f70c4a2db2fd6e2a35ebefd63a9177b44fc31 (diff) | |
download | prosody-82d5e5fd0ce5e5c7682d8f0211a352fd8bd97efd.tar.gz prosody-82d5e5fd0ce5e5c7682d8f0211a352fd8bd97efd.zip |
s2smanager: Add open_stream and close methods to resting sessions
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r-- | core/s2smanager.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 15d981d4..ccd8161f 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -511,6 +511,12 @@ end local resting_session = { -- Resting, not dead destroyed = true; + open_stream = function (session) + session.log("debug", "Attempt to open stream on resting session"); + end; + close = function (session) + session.log("debug", "Attempt to close already-closed session"); + end; }; resting_session.__index = resting_session; function retire_session(session) |