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