iteration
This commit is contained in:
parent
697906c953
commit
0fefa83215
@ -112,7 +112,7 @@ while true do
|
|||||||
local found = false
|
local found = false
|
||||||
for user, userdata in pairs(data.users) do
|
for user, userdata in pairs(data.users) do
|
||||||
if userdata.token == request.token then
|
if userdata.token == request.token then
|
||||||
rednet.send(client_id, user, "auth")
|
rednet.send(client_id, userdata.username, "auth")
|
||||||
found = true
|
found = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user