diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-05-07 21:43:37 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-05-07 21:43:37 +0100 |
commit | f83f25d08a14fd01003a5e38e6a2d9867ee5ec28 (patch) | |
tree | 8b9d7e0104bb1ee76bda0ba40c040ef51b56393b /core | |
parent | a638f49976e894a83b15912bb17e2d3921a0651f (diff) | |
download | prosody-f83f25d08a14fd01003a5e38e6a2d9867ee5ec28.tar.gz prosody-f83f25d08a14fd01003a5e38e6a2d9867ee5ec28.zip |
usermanager: Bump log level of incorrect config option warnings
Diffstat (limited to 'core')
-rw-r--r-- | core/usermanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 |