PointServerCommandFilter: change input check.
Make it incase sensitive, some maps on CSGO seem to return it in lowercase. Dont even ask why.
This commit is contained in:
parent
61b2dea52a
commit
f6b8c2786b
@ -91,7 +91,7 @@ public MRESReturn AcceptInput(int pThis, Handle hReturn, Handle hParams)
|
|||||||
char szInputName[128];
|
char szInputName[128];
|
||||||
DHookGetParamString(hParams, 1, szInputName, sizeof(szInputName));
|
DHookGetParamString(hParams, 1, szInputName, sizeof(szInputName));
|
||||||
|
|
||||||
if(!StrEqual(szInputName, "Command", true))
|
if(!StrEqual(szInputName, "Command", false))
|
||||||
return MRES_Ignored;
|
return MRES_Ignored;
|
||||||
|
|
||||||
int client = 0;
|
int client = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user