Mon, 22 Mar 2010 14:58:25 +0000
sessionmanager, s2smanager: Add type of ?2s_destroyed to resting sessions (fixes a logging traceback, thanks Flo)
core/s2smanager.lua | file | annotate | diff | comparison | revisions | |
core/sessionmanager.lua | file | annotate | diff | comparison | revisions |
--- 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;
--- a/core/sessionmanager.lua Mon Mar 22 14:36:53 2010 +0000 +++ b/core/sessionmanager.lua Mon Mar 22 14:58:25 2010 +0000 @@ -68,6 +68,7 @@ local resting_session = { -- Resting, not dead destroyed = true; + type = "c2s_destroyed"; close = function (session) session.log("debug", "Attempt to close already-closed session"); end;