From f02d18674a51263b7097bd8813b4d5ff20082da4 Mon Sep 17 00:00:00 2001 From: Layla Manley Date: Sun, 8 Oct 2023 02:48:03 -0400 Subject: [PATCH] iteration --- lns_server.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lns_server.lua b/lns_server.lua index d659d55..c594541 100644 --- a/lns_server.lua +++ b/lns_server.lua @@ -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