From d0bd1e71d926424142a139eb63ac148eb888a871 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 19 Mar 2022 09:28:27 +0000 Subject: prosodyctl: check config: Skip bare JID components in orphan check --- util/prosodyctl/check.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/prosodyctl/check.lua') diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua index 71bbc222..fc12caaa 100644 --- a/util/prosodyctl/check.lua +++ b/util/prosodyctl/check.lua @@ -667,7 +667,7 @@ local function check(arg) 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("^[^.]+%.(.+)$"); -- cgit v1.2.3