130 condition = "conflict"; |
130 condition = "conflict"; |
131 text = "Replaced by new connection"; |
131 text = "Replaced by new connection"; |
132 }; |
132 }; |
133 if not next(sessions) then |
133 if not next(sessions) then |
134 hosts[session.host].sessions[session.username] = { sessions = sessions }; |
134 hosts[session.host].sessions[session.username] = { sessions = sessions }; |
|
135 bare_sessions[session.username.."@"..session.host] = hosts[session.host].sessions[session.username]; |
135 end |
136 end |
136 end |
137 end |
137 if increment and sessions[resource] then |
138 if increment and sessions[resource] then |
138 local count = 1; |
139 local count = 1; |
139 while sessions[resource.."#"..count] do |
140 while sessions[resource.."#"..count] do |