Software /
code /
prosody
Diff
core/s2smanager.lua @ 2915:f47bd0f7e2e6
sessionmanager, s2smanager: Add type of ?2s_destroyed to resting sessions (fixes a logging traceback, thanks Flo)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 22 Mar 2010 14:58:25 +0000 |
parent | 2892:9f214431de29 |
child | 2925:692b3c6c5bd2 |
line wrap: on
line diff
--- a/core/s2smanager.lua Mon Mar 22 14:36:53 2010 +0000 +++ b/core/s2smanager.lua Mon Mar 22 14:58:25 2010 +0000 @@ -506,6 +506,7 @@ local resting_session = { -- Resting, not dead destroyed = true; + type = "s2s_destroyed"; open_stream = function (session) session.log("debug", "Attempt to open stream on resting session"); end;