aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_c2s.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua
index e29ea6a0..a9417368 100644
--- a/plugins/mod_c2s.lua
+++ b/plugins/mod_c2s.lua
@@ -273,6 +273,7 @@ local function disconnect_user_sessions(reason, leave_resource)
if not (hosts[host] and hosts[host].type == "local") then
return -- not a local VirtualHost so no sessions
end
+ module:log("debug", "Disconnecting %s sessions of %s@%s (%s)", not leave_resource and "all" or "other", username, host, reason.text);
local user = hosts[host].sessions[username];
if user and user.sessions then
for r, session in pairs(user.sessions) do