Make nospam comparison case insensitive, since BugZilla keeps the
case of the login, which might differ from the case in the database. git-svn-id: svn://10.0.0.236/trunk@34799 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
891f537f8e
commit
5757dcaf2f
@ -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]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user