From f6b8c2786bd52590a26b02799773f4985b6f897a Mon Sep 17 00:00:00 2001 From: zaCade Date: Sat, 1 Sep 2018 19:33:08 +0200 Subject: [PATCH] PointServerCommandFilter: change input check. Make it incase sensitive, some maps on CSGO seem to return it in lowercase. Dont even ask why. --- PointServerCommandFilter/scripting/PointServerCommandFilter.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PointServerCommandFilter/scripting/PointServerCommandFilter.sp b/PointServerCommandFilter/scripting/PointServerCommandFilter.sp index 73d4ad27..2eddfac7 100644 --- a/PointServerCommandFilter/scripting/PointServerCommandFilter.sp +++ b/PointServerCommandFilter/scripting/PointServerCommandFilter.sp @@ -91,7 +91,7 @@ public MRESReturn AcceptInput(int pThis, Handle hReturn, Handle hParams) char szInputName[128]; DHookGetParamString(hParams, 1, szInputName, sizeof(szInputName)); - if(!StrEqual(szInputName, "Command", true)) + if(!StrEqual(szInputName, "Command", false)) return MRES_Ignored; int client = 0;