Software /
code /
prosody
Diff
core/sessionmanager.lua @ 2580:61f0acd9086f
sessionmanager: Whitespace fix
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 10 Feb 2010 07:53:25 +0000 |
parent | 2449:678ca4e9a479 |
child | 2591:d540a75a11db |
line wrap: on
line diff
--- a/core/sessionmanager.lua Tue Feb 09 06:49:03 2010 +0000 +++ b/core/sessionmanager.lua Wed Feb 10 07:53:25 2010 +0000 @@ -75,7 +75,7 @@ hosts[session.host].sessions[session.username].sessions[session.resource] = nil; full_sessions[session.full_jid] = nil; - + if not next(hosts[session.host].sessions[session.username].sessions) then log("debug", "All resources of %s are now offline", session.username); hosts[session.host].sessions[session.username] = nil;