Permalink
Browse files

Merge pull request #7 from fornex/patch-1

Fixed bug that didn't allow multiple URIs to be whitelisted - thanks fornex
  • Loading branch information...
2 parents 3f78abf + 43bfaea commit 00e27798aff13470fa4cc14b9de068fc17733f5d @yuri-gushin committed Oct 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Roboo.pm
View
@@ -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 00e2779

Please sign in to comment.