From f83f25d08a14fd01003a5e38e6a2d9867ee5ec28 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 7 May 2010 21:43:37 +0100 Subject: usermanager: Bump log level of incorrect config option warnings --- core/usermanager.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/usermanager.lua') diff --git a/core/usermanager.lua b/core/usermanager.lua index c9ac041c..fd579692 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -90,7 +90,7 @@ function new_default_provider(host) 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 @@ function is_admin(jid, host) 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 -- cgit v1.2.3