too simplistic attempt at blocking botox dubious requests against the async socket while still ensuring regular torch commands work

This commit is contained in:
Christian 2020-11-04 20:33:48 +01:00
parent 097e2289d7
commit 6fa79a8e7a

View File

@ -368,7 +368,7 @@ static int HandleRequest(int Client, JSONObject jRequest, JSONObject jResponse)
} }
delete jValue; delete jValue;
} }
int sm_call_finish_ex_params_size = 2; int sm_call_finish_ex_params_size = 1;
if (parameter_count_verified > sm_call_finish_ex_params_size) if (parameter_count_verified > sm_call_finish_ex_params_size)
{ {
Call_Cancel(); Call_Cancel();