From dfc4d2a3cd4291a63dfd9d8eb779538638b9a65c Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Thu, 7 Nov 2002 21:59:18 +0000 Subject: [PATCH] Changed MESSAGE_DEFAULTS to more descriptive GLOBAL_FILTERS --- src/spong-message.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/spong-message.pl b/src/spong-message.pl index 0b73540..3ded1f3 100755 --- a/src/spong-message.pl +++ b/src/spong-message.pl @@ -12,7 +12,7 @@ # (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@@"; @@ -328,8 +328,8 @@ sub scan_rules { # # 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; @@ -337,9 +337,9 @@ sub scan_rules { } } - 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; } -- 2.30.2