mirror of
https://code.dnix.de/da/flokatirc
synced 2026-07-27 06:19:44 +02:00
modules/quiz: medium -> normal
This commit is contained in:
+2
-2
@@ -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, ":: ")
|
||||
|
||||
Reference in New Issue
Block a user