iteration
This commit is contained in:
parent
cba8b4089c
commit
e6ed55bcc7
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user