Fix typo causing compile error strcmp -> strncmp

This commit is contained in:
Nicholas Hastings 2014-10-08 18:02:05 -07:00
parent d76f62b863
commit a3336b1dcf

View File

@ -304,7 +304,7 @@ public Action:Command_AddBan(client, args)
new bool:idValid = false;
if (!strncmp(authid, "STEAM_", 6) && authid[7] == ':')
idValid = true;
else if (!strcmp(authid, "[U:", 3))
else if (!strncmp(authid, "[U:", 3))
idValid = true;
if (!idValid)