equal
deleted
inserted
replaced
504 ok = false |
504 ok = false |
505 return |
505 return |
506 end |
506 end |
507 for k, v in pairs(modules) do |
507 for k, v in pairs(modules) do |
508 if type(k) ~= "number" or type(v) ~= "string" then |
508 if type(k) ~= "number" or type(v) ~= "string" then |
509 print(" The " .. name .. " in the " .. host .. " section should not be a map of " .. type(k) .. " to " .. type(v) |
509 print(" The " .. name .. " in the " .. host .. " section should be a list of strings, e.g."); |
510 .. " but a list of strings, e.g."); |
|
511 print(" " .. name .. " = { \"name_of_module\", \"another_plugin\", }") |
510 print(" " .. name .. " = { \"name_of_module\", \"another_plugin\", }") |
|
511 print(" It should not contain key = value pairs, try putting them outside the {} brackets."); |
512 ok = false |
512 ok = false |
513 break |
513 break |
514 end |
514 end |
515 end |
515 end |
516 end |
516 end |