aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-02-10 07:53:25 +0000
committerMatthew Wild <mwild1@gmail.com>2010-02-10 07:53:25 +0000
commitef60c36f61ececaa97e3b2cfd0660fea579dde2d (patch)
treee2e538ca3f573180d1629a141668e7e47e475519
parent192860d916e6ddf4dafc6d5c1add86fd7c636cf9 (diff)
downloadprosody-ef60c36f61ececaa97e3b2cfd0660fea579dde2d.tar.gz
prosody-ef60c36f61ececaa97e3b2cfd0660fea579dde2d.zip
sessionmanager: Whitespace fix
-rw-r--r--core/sessionmanager.lua2
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;