diff options
Diffstat (limited to 'stats.pl')
-rwxr-xr-x | stats.pl | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -34,7 +34,12 @@ sub in_array { my $group_info = {}; my @group_names = (); -my @content = split /^-+$/m, get($score_url); +my $content = get($score_url); +if (!defined($content)) { + print STDERR "Could not fetch scoreboard!"; +} + +my @content = split /^-+$/m, $content; shift @content; for my $section (@content) { |