iteration

This commit is contained in:
Layla 2023-10-08 05:44:23 -04:00
parent cba8b4089c
commit e6ed55bcc7

View File

@ -84,14 +84,14 @@ function split (inputstr, sep)
end
function check_user_in_group(username, group)
local data = {
local package = {
["action"] = "check_group",
["username"] = username,
["group"] = group
}
local authID = data[auth_server]
rednet.send(authID, data, "auth")
rednet.send(authID, package, "auth")
while true do
id, msg = rednet.receive("auth")