iteration
This commit is contained in:
parent
93f9e3e0c7
commit
310af0a489
@ -186,7 +186,7 @@ while true do
|
||||
rednet.send(client_id, "invalid request", "auth")
|
||||
end
|
||||
|
||||
if data.users[request.username].groups == nil or data.users[request.username].groups[request.group] or data.users[request.username].groups[request.group] == false then
|
||||
if data.users[request.username].groups == nil or data.users[request.username].groups[request.group] == nil or data.users[request.username].groups[request.group] == false then
|
||||
rednet.send(client_id, false, "auth")
|
||||
else
|
||||
rednet.send(client_id, true, "auth")
|
||||
|
Loading…
Reference in New Issue
Block a user