Talk:Blacklist/@comment-137.248.3.124-20130108104046
Jump to navigation
Jump to search
You have to be carefull where to add
# Add the configured blacklist addresses my $site_blacklist = $RT::Blacklist; if( $site_blacklist ) { @blacklist = split( /,/, $site_blacklist ); }
because it overwrites @blacklist.
If @blacklist is already defined and set you can use:
# Add the configured blacklist addresses my $site_blacklist = $RT::Blacklist; if( $site_blacklist ) { push @blacklist, split( /,/, $site_blacklist ); }