]> git.etc.gen.nz Git - spong.git/commitdiff
Fixed bug in last_if_match processing, flag var was using incorrect var name
authorStephen L Johnson <sjohnson@monsters.org>
Tue, 7 May 2002 18:39:45 +0000 (18:39 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Tue, 7 May 2002 18:39:45 +0000 (18:39 +0000)
src/spong-message.pl

index 02f6b962320225e85b919df5c6639638f57fe2aa..d73f4c70600b43215dc6d8eb86c70b0b13f2ae8b 100755 (executable)
@@ -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.33 2002/04/05 20:11:21 sljohnson Exp $
+# $Id: spong-message.pl,v 1.34 2002/05/07 18:39:45 sljohnson Exp $
 
 use lib "@@LIBDIR@@";
 
@@ -502,7 +502,7 @@ RULE:
          add_contact(\@con,$contact);
       }
 
-      if( $match and $rules->{'last_if_match'} == 1 ) {
+      if( $match and $rule->{'last_if_match'} == 1 ) {
          debug("'last_if_match' flag set on rule $c $rule->{'name'}," .
                " exiting rules scan");
          last;