From 44a98f17411a44a64d3586276a6a70d91b8293c4 Mon Sep 17 00:00:00 2001 From: Layla Manley Date: Sun, 8 Oct 2023 05:29:02 -0400 Subject: [PATCH] iteration --- packages/auth_server.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/auth_server.lua b/packages/auth_server.lua index 1b964f6..28c5bd5 100644 --- a/packages/auth_server.lua +++ b/packages/auth_server.lua @@ -189,6 +189,7 @@ while true do if data.users[request.username].groups == nil then rednet.send(client_id, false, "auth") else + local result = (data.users[request.username].groups[request.group] ~= nil) and data.users[request.username].groups[request.group] == true rednet.send(client_id, data.users[request.username].groups[request.group] ~= nil, "auth") end end