Permalink
Browse files

Update Roboo.pm

Accepting multiple URIs in Roboo_whitelist
  • Loading branch information...
1 parent 3f78abf commit 43bfaea97a12936eb64647044f5afccdc5117c71 @fornex fornex committed Oct 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Roboo.pm
View
2 Roboo.pm
@@ -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;

0 comments on commit 43bfaea

Please sign in to comment.