]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Make nospam comparison case insensitive, since BugZilla keeps the
authorbryce-mozilla%nextbus.com <>
Fri, 11 Jun 1999 23:07:32 +0000 (23:07 +0000)
committerbryce-mozilla%nextbus.com <>
Fri, 11 Jun 1999 23:07:32 +0000 (23:07 +0000)
case of the login, which might differ from the case in the database.

processmail

index 26fd4a2d0f19fec2bd9253b41e73155afaeda92e..a04bed6ab3953636e945ff30635b67fd0e6da52b 100755 (executable)
@@ -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]);