Software /
code /
prosody
Diff
core/sessionmanager.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 | 2752:18d8009f06cb |
child | 2925:692b3c6c5bd2 |
line wrap: on
line diff
--- 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;