iteration

This commit is contained in:
Layla 2023-10-08 05:22:41 -04:00
parent 1fe688e287
commit 3035d7563f

View File

@ -30,16 +30,16 @@ function check_user_group(username, group)
if id == auth_server_id then
if msg == "invalid request" then
io.write("Invalid request\n")
return
return false
elseif msg == "user not found" then
io.write("User not found\n")
return
return false
elseif msg == "invalid token" then
io.write("Invalid token\n")
return
return false
elseif msg == "invalid group" then
io.write("Invalid group\n")
return
return false
elseif msg == "ok" then
return true
else