prosodyctl check: Include global options when checking "all options"
authorKim Alvefur <zash@zash.se>
Thu, 03 Dec 2015 15:51:22 +0100
changeset 6960 e442016918a9
parent 6954 99de8f30d99e
child 6961 ebac87d80ef4
prosodyctl check: Include global options when checking "all options"
prosodyctl
--- a/prosodyctl	Thu Dec 03 14:57:49 2015 +0000
+++ b/prosodyctl	Thu Dec 03 15:51:22 2015 +0100
@@ -913,7 +913,7 @@
 			   	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