my $response = &General::downloader(%settings);
# Abort if the response is empty
- return "empty list" unless ($response);
+ return "empty_list" unless ($response);
# Return return codes from downloader.
- return "not modified" if ($response eq "not modified");
+ return "not_modified" if ($response eq "not_modified");
# Convert the response into an array to allow
# processing the items.
my $parser = $parsers{$IPblocklist::List::sources{$list}{'parser'}};
# Return if no parser could be omited.
- return "no parser" unless ($parser);
+ return "no_parser" unless ($parser);
# Get the name of the cached blocklist.
my $file = &get_cached_blocklist_file($list);