diff options
author | Matthew Wild <mwild1@gmail.com> | 2017-09-26 17:24:25 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2017-09-26 17:24:25 +0100 |
commit | d6833915bcfaeb6600c0af911102a8362e26e93e (patch) | |
tree | 575fdc7082baf42f3c7871cac1bc03d7fa65f905 /prosodyctl | |
parent | 43e5d4df2985e069c52fb21e4636e3e44053d1bf (diff) | |
parent | 86ee041be81ad313a24c87b6e38f92fe4400cf17 (diff) | |
download | prosody-d6833915bcfaeb6600c0af911102a8362e26e93e.tar.gz prosody-d6833915bcfaeb6600c0af911102a8362e26e93e.zip |
Merge 0.10->trunk
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |