From f3b7e842dce940c39f9fb03c949fba36c3f0378a Mon Sep 17 00:00:00 2001 From: "bryce-mozilla%nextbus.com" <> Date: Fri, 11 Jun 1999 23:07:32 +0000 Subject: Make nospam comparison case insensitive, since BugZilla keeps the case of the login, which might differ from the case in the database. --- processmail | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/processmail b/processmail index 26fd4a2d0..a04bed6ab 100755 --- a/processmail +++ b/processmail @@ -232,7 +232,8 @@ sub fixaddresses { next; } } - if ($emailnotification eq "ExcludeSelfChanges" && $i eq $nametoexclude) { + if ($emailnotification eq "ExcludeSelfChanges" && + (lc($i) eq $nametoexclude)) { $didexclude = 1; next; } @@ -355,7 +356,7 @@ if ($ARGV[0] eq "regenerate") { } if ($#ARGV == 1) { - $nametoexclude = $ARGV[1]; + $nametoexclude = lc($ARGV[1]); } ProcessOneBug($ARGV[0]); -- cgit v1.2.3-24-g4f1b