fixes readmin when username had upper case letters

fixes #9775
This commit is contained in:
MrStonedOne
2015-06-09 01:18:22 -07:00
parent 5f56335fbc
commit ff5c9d3f5b
+1 -1
View File
@@ -548,7 +548,7 @@ var/list/admin_verbs_hideable = list(
var/list/Lines = file2list("config/admins.txt")
for(var/line in Lines)
var/list/splitline = text2list(line, " = ")
if(splitline[1] == ckey)
if(lowertext(splitline[1]) == ckey)
if(splitline.len >= 2)
rank = ckeyEx(splitline[2])
break