From: bryce-mozilla%nextbus.com <> Date: Fri, 11 Jun 1999 23:07:32 +0000 (+0000) Subject: Make nospam comparison case insensitive, since BugZilla keeps the X-Git-Tag: bugzilla-2.6~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3b7e842dce940c39f9fb03c949fba36c3f0378a;p=thirdparty%2Fbugzilla.git Make nospam comparison case insensitive, since BugZilla keeps the case of the login, which might differ from the case in the database. --- diff --git a/processmail b/processmail index 26fd4a2d0f..a04bed6ab3 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]);