Changeset

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
parents 5811:31c331d05a75
children 5813:429cc52c3ce8
files mod_isolate_host/mod_isolate_host.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);