Make nospam comparison case insensitive, since BugZilla keeps the

case of the login, which might differ from the case in the database.
parent 565cc8a6
......@@ -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]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment