mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
prosodyctl check: Include global options when checking "all options"
This commit is contained in:
parent
d3b6588fd7
commit
ec4a62325a
1 changed files with 1 additions and 1 deletions
|
@ -913,7 +913,7 @@ function commands.check(arg)
|
|||
print(" For more information see: http://prosody.im/doc/dns");
|
||||
end
|
||||
end
|
||||
local all_options = set.new();
|
||||
local all_options = set.new(it.to_array(it.keys(config["*"])));
|
||||
for host in enabled_hosts() do
|
||||
all_options:include(set.new(it.to_array(it.keys(config[host]))));
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue