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