Diff

prosodyctl @ 6957:e442016918a9

prosodyctl check: Include global options when checking "all options"
author Kim Alvefur <zash@zash.se>
date Thu, 03 Dec 2015 15:51:22 +0100
parent 6914:5df76208e050
child 6958:ebac87d80ef4
line wrap: on
line diff
--- 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