summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbryce-mozilla%nextbus.com <>1999-06-12 01:07:32 +0200
committerbryce-mozilla%nextbus.com <>1999-06-12 01:07:32 +0200
commitf3b7e842dce940c39f9fb03c949fba36c3f0378a (patch)
tree9513d0da6ef8cf5872ff622cdff5c01c836d9d3a
parent565cc8a6588b32534110261e2f05b40133406efb (diff)
downloadbugzilla-f3b7e842dce940c39f9fb03c949fba36c3f0378a.tar.gz
bugzilla-f3b7e842dce940c39f9fb03c949fba36c3f0378a.tar.xz
Make nospam comparison case insensitive, since BugZilla keeps the
case of the login, which might differ from the case in the database.
-rwxr-xr-xprocessmail5
1 files 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]);