Skip to content

Commit

Permalink
Merge pull request #7 from fornex/patch-1
Browse files Browse the repository at this point in the history
Fixed bug that didn't allow multiple URIs to be whitelisted - thanks fornex
  • Loading branch information
yuri-gushin committed Oct 14, 2012
2 parents 3f78abf + 43bfaea commit 00e2779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Roboo.pm
Expand Up @@ -122,7 +122,7 @@ sub init ($) {
my @whitelisted_networks = ($settings->{whitelist} =~ /IP\(([^)]+)\)/g);
$settings->{whitelisted_networks} = create_iprange_regexp(@whitelisted_networks) unless (not scalar @whitelisted_networks);
@{$settings->{whitelisted_useragents}} = ($settings->{whitelist} =~ /UA\('([^']+)'\)/g);
@{$settings->{whitelisted_uris}} = ($settings->{whitelist} =~ /URI\('([^']+)'\)/);
@{$settings->{whitelisted_uris}} = ($settings->{whitelist} =~ /URI\('([^']+)'\)/g);
}
# Get RANDBITS for get_timeseed
use Config;
Expand Down

0 comments on commit 00e2779

Please sign in to comment.