iteration

This commit is contained in:
Layla 2023-10-08 03:09:41 -04:00
parent 697906c953
commit 0fefa83215

View File

@ -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