From a3336b1dcf3e5eed1c1976068b500fe1b9d460f6 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 8 Oct 2014 18:02:05 -0700 Subject: [PATCH] Fix typo causing compile error strcmp -> strncmp --- plugins/basebans.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/basebans.sp b/plugins/basebans.sp index 692195f2..f3a8d53e 100644 --- a/plugins/basebans.sp +++ b/plugins/basebans.sp @@ -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)