iteration
This commit is contained in:
		@ -30,16 +30,16 @@ function check_user_group(username, group)
 | 
				
			|||||||
        if id == auth_server_id then
 | 
					        if id == auth_server_id then
 | 
				
			||||||
            if msg == "invalid request" then
 | 
					            if msg == "invalid request" then
 | 
				
			||||||
                io.write("Invalid request\n")
 | 
					                io.write("Invalid request\n")
 | 
				
			||||||
                return
 | 
					                return false
 | 
				
			||||||
            elseif msg == "user not found" then
 | 
					            elseif msg == "user not found" then
 | 
				
			||||||
                io.write("User not found\n")
 | 
					                io.write("User not found\n")
 | 
				
			||||||
                return
 | 
					                return false
 | 
				
			||||||
            elseif msg == "invalid token" then
 | 
					            elseif msg == "invalid token" then
 | 
				
			||||||
                io.write("Invalid token\n")
 | 
					                io.write("Invalid token\n")
 | 
				
			||||||
                return
 | 
					                return false
 | 
				
			||||||
            elseif msg == "invalid group" then
 | 
					            elseif msg == "invalid group" then
 | 
				
			||||||
                io.write("Invalid group\n")
 | 
					                io.write("Invalid group\n")
 | 
				
			||||||
                return
 | 
					                return false
 | 
				
			||||||
            elseif msg == "ok" then
 | 
					            elseif msg == "ok" then
 | 
				
			||||||
                return true
 | 
					                return true
 | 
				
			||||||
            else
 | 
					            else
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user