iteration

This commit is contained in:
Layla 2023-10-08 02:48:03 -04:00
parent a58ca7b94c
commit f02d18674a

View File

@ -109,7 +109,9 @@ while true do
local auth_passed = false
if require_auth then
local authID = data[auth_server]
if authID ~= nil then
if request.token == nil then
rednet.send(client_id, "invalid auth", "lns")
elseif authID ~= nil then
rednet.send(authID, {
action = "token",
token = request.token