modules/quiz: medium -> normal

This commit is contained in:
Andreas Neue 2016-04-01 19:26:57 +02:00
parent cb87e33ead
commit 5af0c2f07a
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ var (
quizCtrlCh = make(chan string, 1024)
quizAnswerCh = make(chan *irc.Message, 1024)
quizQuestions []quizQuestion
quizQuestionValues = map[string]int{"extreme": 5, "hard": 4, "medium": 3, "easy": 2, "baby": 1}
quizQuestionValues = map[string]int{"extreme": 5, "hard": 4, "normal": 3, "easy": 2, "baby": 1}
)
func init() {
@ -207,7 +207,7 @@ func quizLoadQuestions(path string) []quizQuestion {
if len(line) == 0 || line[0] == '#' || line[0] == '\n' {
if q.category != "" {
questions = append(questions, q)
q = quizQuestion{"", "", "", "", "medium"}
q = quizQuestion{"", "", "", "", "normal"}
}
} else {
tok := strings.Split(line, ":: ")