# HG changeset patch # User Matthew Wild # Date 1738845611 0 # Node ID 1b2de94f05807060b2ed03ab961bd535f641ea77 # Parent d980c3e036374f842b2c214efdad99ad2d62e851 mod_c2s: Add debug log when disconnecting all user sessions diff -r d980c3e03637 -r 1b2de94f0580 plugins/mod_c2s.lua --- a/plugins/mod_c2s.lua Sun Feb 02 14:12:52 2025 +0100 +++ b/plugins/mod_c2s.lua Thu Feb 06 12:40:11 2025 +0000 @@ -273,6 +273,7 @@ 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