Software /
code /
prosody
Changeset
13316:a27a329e93ca
util.prosodyctl.check: Try to clarify check for misplaced k=v in modules_enabled (thanks aab and Menel)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 11 Nov 2023 21:33:53 +0100 |
parents | 13315:3d5a5e407903 |
children | 13317:e6a5f196fc1f |
files | util/prosodyctl/check.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/util/prosodyctl/check.lua Sat Nov 11 19:16:50 2023 +0100 +++ b/util/prosodyctl/check.lua Sat Nov 11 21:33:53 2023 +0100 @@ -506,9 +506,9 @@ end for k, v in pairs(modules) do if type(k) ~= "number" or type(v) ~= "string" then - print(" The " .. name .. " in the " .. host .. " section should not be a map of " .. type(k) .. " to " .. type(v) - .. " but a list of strings, e.g."); + print(" The " .. name .. " in the " .. host .. " section should be a list of strings, e.g."); print(" " .. name .. " = { \"name_of_module\", \"another_plugin\", }") + print(" It should not contain key = value pairs, try putting them outside the {} brackets."); ok = false break end