X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=maps%2Flib%2FMAPS.pm;h=ae6efcccc82dca76ada35b36758a176f1467057c;hb=d58045351725edca8fcb05a78c4b80865d7c3cf3;hp=f1871ffcebc4a5e91bbb66e4bf5e100ba8ba731b;hpb=16babf81ce331af378de565ba73e927ff5491f65;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;