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