Fixed bug am50907 - Name and Tag admins were case sensitive

This commit is contained in:
Steve Dudenhoeffer 2007-02-09 07:26:37 +00:00
parent 9d53451933
commit f26939e2cc

View File

@ -574,13 +574,13 @@ getAccess(id, name[], authid[], ip[], password[])
} else { } else {
if (g_aFlags[i] & FLAG_TAG) if (g_aFlags[i] & FLAG_TAG)
{ {
if (contain(name, g_aName[i]) != -1) if (containi(name, g_aName[i]) != -1)
{ {
index = i index = i
break break
} }
} }
else if (equal(name, g_aName[i])) else if (equali(name, g_aName[i]))
{ {
index = i index = i
break break