diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/usermanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua index 43e43df9..62bbaee5 100644 --- a/core/usermanager.lua +++ b/core/usermanager.lua @@ -107,7 +107,7 @@ function is_admin(jid, host) break; end end - elseif admins then + elseif host_admins then log("error", "Option 'admins' for host '%s' is not a list", host); end end @@ -120,7 +120,7 @@ function is_admin(jid, host) break; end end - elseif admins then + elseif global_admins then log("error", "Global option 'admins' is not a list"); end end |