X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=maps%2Flib%2FMAPS.pm;h=ae6efcccc82dca76ada35b36758a176f1467057c;hb=4e9f478e1417a38297ea9d3d659d9ce4cd572a57;hp=f1871ffcebc4a5e91bbb66e4bf5e100ba8ba731b;hpb=679a6307d28f6495322fc79bf4fc188571b74192;p=clearscm.git diff --git a/maps/lib/MAPS.pm b/maps/lib/MAPS.pm index f1871ff..ae6efcc 100644 --- a/maps/lib/MAPS.pm +++ b/maps/lib/MAPS.pm @@ -376,7 +376,7 @@ sub CheckOnList ($$;$) { : !defined $domain ? "$email_on_file\@" : $email_on_file; - if ($sender =~ /$search_for/i) { + if ($sender and $sender =~ /$search_for/i) { $rule = "Matching rule: ($listtype:$sequence) \"$email_on_file\""; $rule .= " - $comment" if $comment and $comment ne ''; $status = 1;