From fd1d06db735fe83d160dbae09f9cb5c040706273 Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Fri, 7 Apr 2023 11:29:03 -0600 Subject: [PATCH] break on not /clue --- main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.go b/main.go index 4a20ede..26a451d 100644 --- a/main.go +++ b/main.go @@ -117,9 +117,7 @@ func ReviewQ(db DB, user IDU, q IDQ) (string, string, error) { fmt.Printf("> /clue for a clue\n") } response = readline() - switch response { - case "/clue": - default: + if response != "/clue" { break } fmt.Printf("> %s", question.Clues[i].ToString(db.UserResolution(user)))