break on not /clue
This commit is contained in:
4
main.go
4
main.go
@@ -117,9 +117,7 @@ func ReviewQ(db DB, user IDU, q IDQ) (string, string, error) {
|
|||||||
fmt.Printf("> /clue for a clue\n")
|
fmt.Printf("> /clue for a clue\n")
|
||||||
}
|
}
|
||||||
response = readline()
|
response = readline()
|
||||||
switch response {
|
if response != "/clue" {
|
||||||
case "/clue":
|
|
||||||
default:
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
fmt.Printf("> %s", question.Clues[i].ToString(db.UserResolution(user)))
|
fmt.Printf("> %s", question.Clues[i].ToString(db.UserResolution(user)))
|
||||||
|
|||||||
Reference in New Issue
Block a user