diff --git a/main.go b/main.go index c958b45..642761d 100644 --- a/main.go +++ b/main.go @@ -130,6 +130,9 @@ func ReviewQ(db DB, user IDU, q IDQ) (string, string, error) { if len(question.Clues) == 0 || response == "/clue" { response = readline() } + if len(question.Solution) > 0 && question.Solution[0].ToString(1) == response { + return response, CMD_PASS, nil + } if len(question.Solution) > 0 { fmt.Printf("> Solution:") for i := range question.Solution {