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 c8f1907f4e
commit 5271b27d67

View File

@ -368,7 +368,7 @@ static int HandleRequest(int Client, JSONObject jRequest, JSONObject jResponse)
}
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)
{
Call_Cancel();