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