aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index 163c6799..19943db0 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -72,7 +72,7 @@ function destroy_session(session, err)
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;
- bare_sessions[session.host..'@'..session.username] = nil;
+ bare_sessions[session.username..'@'..session.host] = nil;
end
end