# HG changeset patch # User Matthew Wild # Date 1647682107 0 # Node ID a93e65784f2c5ddef0caef46580aa4300fb26f4f # Parent 6966026262f497637d70f656c021e4085d9a3e02 prosodyctl: check config: Skip bare JID components in orphan check diff -r 6966026262f4 -r a93e65784f2c util/prosodyctl/check.lua --- 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("^[^.]+%.(.+)$");