# HG changeset patch # User Kim Alvefur # Date 1699734833 -3600 # Node ID a27a329e93cabf7ed148a59b5657b55e46c50a17 # Parent 3d5a5e407903ff05754c038f4381d066684cb22d util.prosodyctl.check: Try to clarify check for misplaced k=v in modules_enabled (thanks aab and Menel) diff -r 3d5a5e407903 -r a27a329e93ca util/prosodyctl/check.lua --- 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