Software /
code /
prosody
Changeset
1588:9107d3221ccb
usermanager: Removed an unnecessary check
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 25 Jul 2009 19:15:05 +0500 |
parents | 1587:81992255a374 |
children | 1589:812ae3be7bed |
files | core/usermanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/usermanager.lua Sat Jul 25 18:38:47 2009 +0500 +++ b/core/usermanager.lua Sat Jul 25 19:15:05 2009 +0500 @@ -69,7 +69,7 @@ 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