iteration

This commit is contained in:
Layla 2023-10-08 05:29:02 -04:00
parent fbc308d265
commit 44a98f1741

View File

@ -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