Software /
code /
prosody
Changeset
2580:61f0acd9086f
sessionmanager: Whitespace fix
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 10 Feb 2010 07:53:25 +0000 |
parents | 2579:4e0caff152d6 |
children | 2581:1b9f424e695e |
files | core/sessionmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;