From 3c448272a75b3b952ad723c93fac7290eb7e4448 Mon Sep 17 00:00:00 2001 From: "ian%hixie.ch" Date: Wed, 24 Sep 2003 21:28:27 +0000 Subject: [PATCH] Typo... --- webtools/mozbot/BotModules/Quiz.bm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtools/mozbot/BotModules/Quiz.bm b/webtools/mozbot/BotModules/Quiz.bm index 026e2e05062..02f53661e8d 100644 --- a/webtools/mozbot/BotModules/Quiz.bm +++ b/webtools/mozbot/BotModules/Quiz.bm @@ -293,7 +293,7 @@ sub quizQuestion { # called from quizStart or delayed from quizAnswer $self->{'remainingQuestions'}->{$event->{'channel'}}--; my $category = $self->{'questions'}->[$self->{'currentQuestion'}->{$event->{'channel'}}]->{'category'}; my $try = 0; - my $$questionCount = scalar keys %{$self->{'questions'}}; + my $questionCount = scalar keys %{$self->{'questions'}}; while ($self->{'questions'}->[$self->{'currentQuestion'}->{$event->{'channel'}}]->{'category'} eq $category and $try++ < $questionCount) { $self->{'currentQuestion'}->{$event->{'channel'}} = $self->pickQuestion();