diff options
author | Kim Alvefur <zash@zash.se> | 2015-12-03 15:51:22 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-12-03 15:51:22 +0100 |
commit | ec4a62325a7efe5ded6b300506fb061d36161c77 (patch) | |
tree | e29554d4e811084d1fec8f5b036026b2a2688bfd | |
parent | d3b6588fd79e85777cf5c6af4fd870c297dc7daf (diff) | |
download | prosody-ec4a62325a7efe5ded6b300506fb061d36161c77.tar.gz prosody-ec4a62325a7efe5ded6b300506fb061d36161c77.zip |
prosodyctl check: Include global options when checking "all options"
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 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 |