prosodyctl check: Really store imported LuaSec (must be a leftover from debugging)
authorKim Alvefur <zash@zash.se>
Thu, 3 Dec 2015 15:06:09 +0000 (16:06 +0100)
committerKim Alvefur <zash@zash.se>
Thu, 3 Dec 2015 15:06:09 +0000 (16:06 +0100)
prosodyctl

index 25bfd55b5c78b2cb24e5473cfde5a7ac02764a45..dcfe693091eedb9c928369afd4aedc51300cfbed 100755 (executable)
@@ -917,7 +917,7 @@ function commands.check(arg)
                for host in enabled_hosts() do
                        all_options:include(set.new(it.to_array(it.keys(config[host]))));
                end
-               local ssl = nil, dependencies.softreq"ssl";
+               local ssl = dependencies.softreq"ssl";
                if not ssl then
                        if not set.intersection(all_options, set.new({"require_encryption", "c2s_require_encryption", "s2s_require_encryption"})):empty() then
                                print("");