# (2) Added rules based paging (Stephen Johnson Nov 14, 1998)
# (3) Added checks against Acks and downtime (Stephen Johnson Mar 17, 1999)
#
-# $Id: spong-message.pl,v 1.37 2002/11/07 21:50:23 sljohnson Exp $
+# $Id: spong-message.pl,v 1.38 2002/11/07 21:59:18 sljohnson Exp $
use lib "@@LIBDIR@@";
#
# Check excluded colors
- if ( defined($MESSAGE_DEFAULTS{'exclude_colors'} ) {
- foreach my $mcolor ( $MESSAGE_DEFAULTS{'exclude_colors'} ) {
+ if ( defined($GLOBAL_FILTERS{'exclude_colors'} ) {
+ foreach my $mcolor ( $GLOBAL_FILTERS{'exclude_colors'} ) {
if ( $color eq $mcolor ) {
main::debug("Hit on exclude_colors in default filters";
return;
}
}
- if ( defined( $MESSAGE_DEFAULTS{'include_colors'} ) {
+ if ( defined( $GLOBAL_FILTERS{'include_colors'} ) {
my $hit = 0;
- foreach my $mcolor ( $MESSAGE_DEFAULTS{'include_colors'} ) {
+ foreach my $mcolor ( $GLOBAL_FILTERS{'include_colors'} ) {
if $color eq $mcolor || $mcolor eq 'all' {
$hit = 1; last;
}