From 310af0a489afd0eddb3775d191160385d52d5658 Mon Sep 17 00:00:00 2001 From: Layla Manley Date: Sun, 8 Oct 2023 05:34:38 -0400 Subject: [PATCH] iteration --- packages/auth_server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/auth_server.lua b/packages/auth_server.lua index 32f8536..9fcf97d 100644 --- a/packages/auth_server.lua +++ b/packages/auth_server.lua @@ -186,7 +186,7 @@ while true do rednet.send(client_id, "invalid request", "auth") end - if data.users[request.username].groups == nil or data.users[request.username].groups[request.group] or data.users[request.username].groups[request.group] == false then + if data.users[request.username].groups == nil or data.users[request.username].groups[request.group] == nil or data.users[request.username].groups[request.group] == false then rednet.send(client_id, false, "auth") else rednet.send(client_id, true, "auth")