You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2007/08/23 21:49:38 UTC

svn commit: r569130 - /spamassassin/trunk/build/mkupdates/listpromotable

Author: jm
Date: Thu Aug 23 12:49:38 2007
New Revision: 569130

URL: http://svn.apache.org/viewvc?rev=569130&view=rev
Log:
the promotion of previously-unknown rules wasn't working; fix

Modified:
    spamassassin/trunk/build/mkupdates/listpromotable

Modified: spamassassin/trunk/build/mkupdates/listpromotable
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/mkupdates/listpromotable?rev=569130&r1=569129&r2=569130&view=diff
==============================================================================
--- spamassassin/trunk/build/mkupdates/listpromotable (original)
+++ spamassassin/trunk/build/mkupdates/listpromotable Thu Aug 23 12:49:38 2007
@@ -228,8 +228,8 @@
   # ie a rule must be promotable in all 3, to be listed.  (Also allow
   # rules that weren't in existence in the earlier mass-checks.)
   next unless ($plist->[1]->{$plistkey}->{promo});
-  next unless ($plist->[2]->{$plistkey}->{promo} or !defined($plist->[2]->{$plistkey}));
-  next unless ($plist->[3]->{$plistkey}->{promo} or !defined($plist->[3]->{$plistkey}));
+  next unless ($plist->[2]->{$plistkey}->{promo} or !defined($plist->[2]->{$plistkey}->{promo}));
+  next unless ($plist->[3]->{$plistkey}->{promo} or !defined($plist->[3]->{$plistkey}->{promo}));
 
   # only rules from "rulesrc" dirs
   my $src = $mailsa->{conf}->{source_file}->{$name};