diff --git a/spray_exploit_fixer/scripting/spray_exploit_fixer_2024.sp b/spray_exploit_fixer/scripting/spray_exploit_fixer_2024.sp index c4b2bed9..7ade0d0e 100644 --- a/spray_exploit_fixer/scripting/spray_exploit_fixer_2024.sp +++ b/spray_exploit_fixer/scripting/spray_exploit_fixer_2024.sp @@ -1028,7 +1028,7 @@ int ValFile(int iRead[sizeof(g_iVal)]) if (iRead[21] == 42 && iRead[24] > 1) { LogMessage("blocked spray with madness option."); - return -1; + return 21; //should not return -1, should return the iRead value probably. } if( iRead[0] == 82 && iRead[1] == 73 && iRead[2] == 70 && iRead[3] == 70 && iRead[8] == 87 && iRead[9] == 65 && iRead[10] == 86 && iRead[11] == 69 ) {