# HG changeset patch # User Matthew Wild # Date 1280572216 -3600 # Node ID 79e08dc3fd3745669582603ca30dd72fcf271eb9 # Parent e75af8e6af542c34d242aae1632e997f7f6e0136 usermanager: Fix two nil global accesses diff -r e75af8e6af54 -r 79e08dc3fd37 core/usermanager.lua --- a/core/usermanager.lua Sat Jul 31 15:16:15 2010 +0500 +++ b/core/usermanager.lua Sat Jul 31 11:30:16 2010 +0100 @@ -107,7 +107,7 @@ 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 @@ break; end end - elseif admins then + elseif global_admins then log("error", "Global option 'admins' is not a list"); end end