You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2022/05/15 05:31:19 UTC

svn commit: r1900911 - /spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm

Author: hege
Date: Sun May 15 05:31:19 2022
New Revision: 1900911

URL: http://svn.apache.org/viewvc?rev=1900911&view=rev
Log:
Do not check if captured_rules exists, as all values are now potentially used as tags

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm?rev=1900911&r1=1900910&r2=1900911&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm Sun May 15 05:31:19 2022
@@ -1338,7 +1338,7 @@ sub hit_rule_plugin_code {
 
   # Save named captures for regex template rules
   my $capture_code = '';
-  if (!$no_capture && %{$pms->{conf}->{capture_rules}}) {
+  if (!$no_capture) {
     $capture_code = '
         foreach my $cname (keys %-) {
           my @cvals = @{$-{$cname}};