Software /
code /
prosody-modules
Diff
mod_isolate_host/mod_isolate_host.lua @ 5812:25e20fa3824c
mod_isolate_host: Fix inverted logic in log message
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 08 Dec 2023 16:00:34 +0000 |
parent | 5297:4bba2d27ffaf |
line wrap: on
line diff
--- a/mod_isolate_host/mod_isolate_host.lua Fri Dec 08 12:45:22 2023 +0000 +++ b/mod_isolate_host/mod_isolate_host.lua Fri Dec 08 16:00:34 2023 +0000 @@ -58,7 +58,7 @@ if not is_jid_isolated(bare_jid) then session.no_host_isolation = true; end - module:log("debug", "%s is %sisolated", session.full_jid or "[?]", session.no_host_isolation and "" or "not "); + module:log("debug", "%s is %sisolated", session.full_jid or "[?]", session.no_host_isolation and "not " or ""); end module:hook("resource-bind", set_session_isolation_flag);