From d147fe682cd799711aff9275f400ab37ccefad6a Mon Sep 17 00:00:00 2001 From: Layla Manley Date: Sun, 8 Oct 2023 03:21:02 -0400 Subject: [PATCH] iteration --- auth_server.lua | 1 - lns_server.lua | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/auth_server.lua b/auth_server.lua index 626d3c9..72ff545 100644 --- a/auth_server.lua +++ b/auth_server.lua @@ -104,7 +104,6 @@ while true do end if request.action == "token" then - log("Token request from " .. client_id) if request.token == nil or request.token == "" or request.token == -1 then rednet.send(client_id, "invalid request", "auth") log("Token request from " .. client_id .. " denied (invalid request)") diff --git a/lns_server.lua b/lns_server.lua index caa1f0b..8a6dce7 100644 --- a/lns_server.lua +++ b/lns_server.lua @@ -117,7 +117,7 @@ while true do ["token"] = request.token }, "auth") - local auth_response = rednet.receive("auth") + authID, auth_response = rednet.receive("auth") log_debug("Auth response: " .. auth_response) local errorPos, errorEnd = string.find(auth_response, "invalid") if errorPos then