Software /
code /
prosody
Diff
util/prosodyctl/check.lua @ 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 |
parent | 12390:71b5c9b8b07a |
child | 12416:19fd28239e73 |
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("^[^.]+%.(.+)$");