iteration
This commit is contained in:
		@ -84,14 +84,14 @@ function split (inputstr, sep)
 | 
				
			|||||||
 end
 | 
					 end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 function check_user_in_group(username, group)
 | 
					 function check_user_in_group(username, group)
 | 
				
			||||||
    local data = {
 | 
					    local package = {
 | 
				
			||||||
        ["action"] = "check_group",
 | 
					        ["action"] = "check_group",
 | 
				
			||||||
        ["username"] = username,
 | 
					        ["username"] = username,
 | 
				
			||||||
        ["group"] = group
 | 
					        ["group"] = group
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    local authID = data[auth_server]
 | 
					    local authID = data[auth_server]
 | 
				
			||||||
    rednet.send(authID, data, "auth")
 | 
					    rednet.send(authID, package, "auth")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    while true do
 | 
					    while true do
 | 
				
			||||||
        id, msg = rednet.receive("auth")
 | 
					        id, msg = rednet.receive("auth")
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user