aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2017-09-26 17:24:25 +0100
committerMatthew Wild <mwild1@gmail.com>2017-09-26 17:24:25 +0100
commit10c321a29dae7e721ba168f5a05beca22e14e7f4 (patch)
tree575fdc7082baf42f3c7871cac1bc03d7fa65f905 /prosodyctl
parent672f22b6f9036895ba3301bbee91abbe99b180be (diff)
parent63252575dfc7c74434c642beafd29e34e3c89c62 (diff)
downloadprosody-10c321a29dae7e721ba168f5a05beca22e14e7f4.tar.gz
prosody-10c321a29dae7e721ba168f5a05beca22e14e7f4.zip
Merge 0.10->trunk
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index bb35c641..94d3a4e5 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -1030,7 +1030,7 @@ function commands.check(arg)
suggested_global_modules = set.intersection(suggested_global_modules or set.new(options.modules_enabled), set.new(options.modules_enabled));
end
end
- if not suggested_global_modules:empty() then
+ if suggested_global_modules and not suggested_global_modules:empty() then
print(" Consider moving these modules into modules_enabled in the global section:")
print(" "..tostring(suggested_global_modules / function (x) return ("%q"):format(x) end));
end