iteration
This commit is contained in:
parent
fbc308d265
commit
44a98f1741
@ -189,6 +189,7 @@ while true do
|
||||
if data.users[request.username].groups == nil then
|
||||
rednet.send(client_id, false, "auth")
|
||||
else
|
||||
local result = (data.users[request.username].groups[request.group] ~= nil) and data.users[request.username].groups[request.group] == true
|
||||
rednet.send(client_id, data.users[request.username].groups[request.group] ~= nil, "auth")
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user