Skip to content

Commit

Permalink
sessionmanager: no reason to not apply resource conflict logic on det…
Browse files Browse the repository at this point in the history
…ached sessions.
  • Loading branch information
maranda committed Nov 19, 2013
1 parent 0e6b32c commit 084c59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/sessionmanager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function bind_resource(session, resource)
bare_sessions[session.username..'@'..session.host] = sessions;
else
local sessions = hosts[session.host].sessions[session.username].sessions;
if sessions[resource] and not sessions[resource].detached then
if sessions[resource] then
-- Resource conflict
local policy = config_get(session.host, "conflict_resolve");
local increment;
Expand Down

0 comments on commit 084c59a

Please sign in to comment.