Changeset

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
parents 6951:99de8f30d99e
children 6958:ebac87d80ef4
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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