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/22 09:13:09 UTC

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

Author: hege
Date: Sun May 22 09:13:08 2022
New Revision: 1901115

URL: http://svn.apache.org/viewvc?rev=1901115&view=rev
Log:
Fix renamed hash check

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=1901115&r1=1901114&r2=1901115&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Check.pm Sun May 22 09:13:08 2022
@@ -1400,7 +1400,7 @@ sub ran_rule_plugin_code {
 sub capture_rules_replace {
   my ($self, $conf, $rulename) = @_;
 
-  return '{' unless exists $conf->{capture_rules}->{$rulename};
+  return '{' unless exists $conf->{capture_template_rules}->{$rulename};
 
   # Replace all named capture templates in regex, format %{CAPTURE_NAME}
   # Note that backquotes must be double escaped in $test_qr