mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 19:22:40 +01:00
C Jeopardy: Fix minor inconsequential typo
This commit is contained in:
parent
00fd1eee89
commit
2d0a490ed2
@ -13,7 +13,7 @@ use warnings;
|
|||||||
# These are set automatically by the build/commit script
|
# These are set automatically by the build/commit script
|
||||||
use constant {
|
use constant {
|
||||||
BUILD_NAME => "PBot",
|
BUILD_NAME => "PBot",
|
||||||
BUILD_REVISION => 753,
|
BUILD_REVISION => 754,
|
||||||
BUILD_DATE => "2014-07-28",
|
BUILD_DATE => "2014-07-28",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ sub shuffle_questions {
|
|||||||
}
|
}
|
||||||
close $fh;
|
close $fh;
|
||||||
|
|
||||||
open $fh, ">", "$CJEOPARDY_SHUFFLE-$channel" or die "Could not open $CJEOPARDY_FILE: $!";
|
open $fh, ">", "$CJEOPARDY_SHUFFLE-$channel" or die "Could not open $CJEOPARDY_SHUFFLE-$channel: $!";
|
||||||
while (@indices) {
|
while (@indices) {
|
||||||
my $random_index = int rand(@indices);
|
my $random_index = int rand(@indices);
|
||||||
my $index = $indices[$random_index];
|
my $index = $indices[$random_index];
|
||||||
|
Loading…
Reference in New Issue
Block a user