diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-07-31 11:30:16 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-07-31 11:30:16 +0100 |
commit | 42d53ec2cf2cec4e3ee1816d94ff0afe8a95fb90 (patch) | |
tree | fbb8dbbc571b77a7adc89096bf778f21fc616adc /core | |
parent | 29db7ce7a6ea531be98eeadda520d1ebd6e2d38b (diff) | |
download | prosody-42d53ec2cf2cec4e3ee1816d94ff0afe8a95fb90.tar.gz prosody-42d53ec2cf2cec4e3ee1816d94ff0afe8a95fb90.zip |
usermanager: Fix two nil global accesses
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 43e43df9..62bbaee5 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -107,7 +107,7 @@ function is_admin(jid, host) break; end end - elseif admins then + elseif host_admins then log("error", "Option 'admins' for host '%s' is not a list", host); end end @@ -120,7 +120,7 @@ function is_admin(jid, host) break; end end - elseif admins then + elseif global_admins then log("error", "Global option 'admins' is not a list"); end end |