aboutsummaryrefslogtreecommitdiffstats
path: root/core/usermanager.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-07-25 19:15:05 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-07-25 19:15:05 +0500
commitc3c6460c1dd7fbb42990f5c67f2c7eac6d15433a (patch)
tree8e560aaff59af3a09e4e4a4fd7e41a5a293ed00c /core/usermanager.lua
parent66d7dbfd0e042143ca8769031e64f5cfbf6f2405 (diff)
downloadprosody-c3c6460c1dd7fbb42990f5c67f2c7eac6d15433a.tar.gz
prosody-c3c6460c1dd7fbb42990f5c67f2c7eac6d15433a.zip
usermanager: Removed an unnecessary check
Diffstat (limited to 'core/usermanager.lua')
-rw-r--r--core/usermanager.lua2
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