Changeset

12414:a93e65784f2c 0.12

prosodyctl: check config: Skip bare JID components in orphan check
author Matthew Wild <mwild1@gmail.com>
date Sat, 19 Mar 2022 09:28:27 +0000
parents 12393:6966026262f4
children 12415:01ba67e7f824 12416:19fd28239e73
files util/prosodyctl/check.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/prosodyctl/check.lua	Wed Mar 16 19:32:17 2022 +0100
+++ b/util/prosodyctl/check.lua	Sat Mar 19 09:28:27 2022 +0000
@@ -667,7 +667,7 @@
 					end
 				end
 			end
-			for host, host_config in enabled_hosts() do
+			for host, host_config in it.filter(skip_bare_jid_hosts, enabled_hosts()) do
 				local is_component = not not host_config.component_module;
 				if is_component then
 					local parent_domain = host:match("^[^.]+%.(.+)$");