iteration

This commit is contained in:
Layla 2023-10-08 05:36:08 -04:00
parent 310af0a489
commit 6aeedb89a6

View File

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