diff options
author | Kim Alvefur <zash@zash.se> | 2023-11-11 21:33:53 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-11-11 21:33:53 +0100 |
commit | 99d2ebb7315a6a05953722206795c402f3802472 (patch) | |
tree | 3c46f0ddee681b9fc666e30016df1f9151f57ee8 /util/prosodyctl | |
parent | 298145db5fc625eacd6b4e94b3c78a0853f02056 (diff) | |
download | prosody-99d2ebb7315a6a05953722206795c402f3802472.tar.gz prosody-99d2ebb7315a6a05953722206795c402f3802472.zip |
util.prosodyctl.check: Try to clarify check for misplaced k=v in modules_enabled (thanks aab and Menel)
Diffstat (limited to 'util/prosodyctl')
-rw-r--r-- | util/prosodyctl/check.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/prosodyctl/check.lua b/util/prosodyctl/check.lua index 343b062f..fa65d1b6 100644 --- a/util/prosodyctl/check.lua +++ b/util/prosodyctl/check.lua @@ -506,9 +506,9 @@ local function check(arg) 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 |