iteration
This commit is contained in:
@ -109,7 +109,9 @@ while true do
|
|||||||
local auth_passed = false
|
local auth_passed = false
|
||||||
if require_auth then
|
if require_auth then
|
||||||
local authID = data[auth_server]
|
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, {
|
rednet.send(authID, {
|
||||||
action = "token",
|
action = "token",
|
||||||
token = request.token
|
token = request.token
|
||||||
|
Reference in New Issue
Block a user