diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-02-10 07:53:25 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-02-10 07:53:25 +0000 |
commit | ef60c36f61ececaa97e3b2cfd0660fea579dde2d (patch) | |
tree | e2e538ca3f573180d1629a141668e7e47e475519 | |
parent | 192860d916e6ddf4dafc6d5c1add86fd7c636cf9 (diff) | |
download | prosody-ef60c36f61ececaa97e3b2cfd0660fea579dde2d.tar.gz prosody-ef60c36f61ececaa97e3b2cfd0660fea579dde2d.zip |
sessionmanager: Whitespace fix
-rw-r--r-- | core/sessionmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 8d520d12..1a7ef175 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -75,7 +75,7 @@ function destroy_session(session, err) 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; |