prosodyctl
changeset 7083 6946c3d5645f
parent 7068 4fc3c008976f
child 7085 8b590fc77d91
--- a/prosodyctl	Mon Jan 11 15:35:51 2016 +0100
+++ b/prosodyctl	Tue Jan 12 01:13:57 2016 +0100
@@ -1080,8 +1080,8 @@
 				target_hosts:remove("localhost");
 			end
 			
-			local modules = set.new(it.to_array(it.values(host_options.modules_enabled)))
-			                + set.new(it.to_array(it.values(config.get("*", "modules_enabled"))))
+			local modules = set.new(it.to_array(it.values(host_options.modules_enabled or {})))
+			                + set.new(it.to_array(it.values(config.get("*", "modules_enabled") or {})))
 			                + set.new({ config.get(host, "component_module") });
 
 			if modules:contains("proxy65") then