projects
/
clearscm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6c2a91
)
Changed CheckonList to append comment to rule if there is a comment
author
Andrew DeFaria
<Andrew@DeFaria.com>
Mon, 19 Jul 2021 18:14:00 +0000
(11:14 -0700)
committer
Andrew DeFaria
<Andrew@DeFaria.com>
Mon, 19 Jul 2021 18:14:00 +0000
(11:14 -0700)
maps/lib/MAPS.pm
patch
|
blob
|
history
diff --git
a/maps/lib/MAPS.pm
b/maps/lib/MAPS.pm
index
618fb67
..
d316fe7
100644
(file)
--- a/
maps/lib/MAPS.pm
+++ b/
maps/lib/MAPS.pm
@@
-458,7
+458,9
@@
sub CheckOnList ($$;$) {
? "$email_on_file\@"
: $email_on_file;
if ($sender and $sender =~ /$search_for/i) {
- $rule = "Matching rule: ($listtype:$rec->{sequence}) \"$email_on_file\"";
+ my $comment = $rec->{comment} ? " - $rec->{comment}" : '';
+
+ $rule = "Matching rule: ($listtype:$rec->{sequence}) \"$email_on_file$comment\"";
$rule .= " - $rec->{comment}" if $rec->{comment};
$status = 1;