Software /
code /
prosody
Diff
core/usermanager.lua @ 1588:9107d3221ccb
usermanager: Removed an unnecessary check
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 25 Jul 2009 19:15:05 +0500 |
parent | 1585:edc066730d11 |
child | 1589:812ae3be7bed |
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