# HG changeset patch # User Matthew Wild # Date 1273265017 -3600 # Node ID 421890f3f247b317e1750082ec871a7d113b40e3 # Parent 2be7801474fb78221f158d6f3eae72141671cafd usermanager: Bump log level of incorrect config option warnings diff -r 2be7801474fb -r 421890f3f247 core/usermanager.lua --- a/core/usermanager.lua Fri May 07 21:42:45 2010 +0100 +++ b/core/usermanager.lua Fri May 07 21:43:37 2010 +0100 @@ -90,7 +90,7 @@ if admin == jid then return true; end end elseif admins then - log("warn", "Option 'admins' for host '%s' is not a table", host); + log("error", "Option 'admins' for host '%s' is not a table", host); end return is_admin(jid); -- Test whether it's a global admin instead end @@ -132,7 +132,7 @@ if admin == jid then return true; end end elseif admins then - log("warn", "Option 'admins' for host '%s' is not a table", host); + log("error", "Option 'admins' for host '%s' is not a table", host); end return nil; end