Talk:Blacklist/@comment-137.248.3.124-20130108104046: Difference between revisions
Jump to navigation
Jump to search
(Created page with "You have to be carefull where to add # Add the configured blacklist addresses my $site_blacklist = $RT::Blacklist; if( $site_blacklist ) { '''@blacklist = split( /,...") |
m (1 revision imported) |
||
(No difference)
|
Latest revision as of 15:52, 6 April 2016
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 ); }