diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-07-25 19:15:05 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-07-25 19:15:05 +0500 |
commit | c3c6460c1dd7fbb42990f5c67f2c7eac6d15433a (patch) | |
tree | 8e560aaff59af3a09e4e4a4fd7e41a5a293ed00c /core/usermanager.lua | |
parent | 66d7dbfd0e042143ca8769031e64f5cfbf6f2405 (diff) | |
download | prosody-c3c6460c1dd7fbb42990f5c67f2c7eac6d15433a.tar.gz prosody-c3c6460c1dd7fbb42990f5c67f2c7eac6d15433a.zip |
usermanager: Removed an unnecessary check
Diffstat (limited to 'core/usermanager.lua')
-rw-r--r-- | core/usermanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua index c7136e8f..955218cc 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -69,7 +69,7 @@ function get_supported_methods(host) end function is_admin(jid) - local admins = config.get("*", "core", "admins") or {}; + local admins = config.get("*", "core", "admins"); if type(admins) == "table" then jid = jid_bare(jid); for _,admin in ipairs(admins) do |