diff options
Diffstat (limited to 'core')
-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 |