From ec4a62325a7efe5ded6b300506fb061d36161c77 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 3 Dec 2015 15:51:22 +0100 Subject: prosodyctl check: Include global options when checking "all options" --- prosodyctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3