diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-03-19 09:28:27 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-03-19 09:28:27 +0000 |
commit | d0bd1e71d926424142a139eb63ac148eb888a871 (patch) | |
tree | d3d4f36b7c62327124bff49643e76b76def962e2 | |
parent | 7badf61246f39df241a0d47eb433dc93eb05b6a5 (diff) | |
download | prosody-d0bd1e71d926424142a139eb63ac148eb888a871.tar.gz prosody-d0bd1e71d926424142a139eb63ac148eb888a871.zip |
prosodyctl: check config: Skip bare JID components in orphan check
-rw-r--r-- | util/prosodyctl/check.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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("^[^.]+%.(.+)$"); |