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
commitf9724de830f58d91f4cb4246a1bceebc4fe768cd (patch)
treee29554d4e811084d1fec8f5b036026b2a2688bfd /prosodyctl
parentcf88b880cd19bd21161f6b3e8688fb752a96f64d (diff)
downloadprosody-f9724de830f58d91f4cb4246a1bceebc4fe768cd.tar.gz
prosody-f9724de830f58d91f4cb4246a1bceebc4fe768cd.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