Software /
code /
prosody
Comparison
prosodyctl @ 8268:e21d82551e05
Merge 0.10->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 26 Sep 2017 17:24:25 +0100 |
parent | 8253:3a6f5b0f56f0 |
parent | 8265:17ebd8ac8545 |
child | 8285:433b2a41351f |
comparison
equal
deleted
inserted
replaced
8253:3a6f5b0f56f0 | 8268:e21d82551e05 |
---|---|
1028 for host, options in enabled_hosts() do | 1028 for host, options in enabled_hosts() do |
1029 if not options.component_module and options.modules_enabled then | 1029 if not options.component_module and options.modules_enabled then |
1030 suggested_global_modules = set.intersection(suggested_global_modules or set.new(options.modules_enabled), set.new(options.modules_enabled)); | 1030 suggested_global_modules = set.intersection(suggested_global_modules or set.new(options.modules_enabled), set.new(options.modules_enabled)); |
1031 end | 1031 end |
1032 end | 1032 end |
1033 if not suggested_global_modules:empty() then | 1033 if suggested_global_modules and not suggested_global_modules:empty() then |
1034 print(" Consider moving these modules into modules_enabled in the global section:") | 1034 print(" Consider moving these modules into modules_enabled in the global section:") |
1035 print(" "..tostring(suggested_global_modules / function (x) return ("%q"):format(x) end)); | 1035 print(" "..tostring(suggested_global_modules / function (x) return ("%q"):format(x) end)); |
1036 end | 1036 end |
1037 print(); | 1037 print(); |
1038 end | 1038 end |