aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-12-03 15:51:22 +0100
committerKim Alvefur <zash@zash.se>2015-12-03 15:51:22 +0100
commitec4a62325a7efe5ded6b300506fb061d36161c77 (patch)
treee29554d4e811084d1fec8f5b036026b2a2688bfd /prosodyctl
parentd3b6588fd79e85777cf5c6af4fd870c297dc7daf (diff)
downloadprosody-ec4a62325a7efe5ded6b300506fb061d36161c77.tar.gz
prosody-ec4a62325a7efe5ded6b300506fb061d36161c77.zip
prosodyctl check: Include global options when checking "all options"
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 76c05fa6..25bfd55b 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -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