--- a/core/usermanager.lua Wed Oct 21 11:39:02 2009 +0500 +++ b/core/usermanager.lua Wed Oct 21 11:40:29 2009 +0500 @@ -77,7 +77,7 @@ for _,admin in ipairs(admins) do if admin == jid then return true; end end - else log("debug", "Option core.admins is not a table"); end + elseif admins then log("warn", "Option 'admins' for host '%s' is not a table", host); end return nil; end