From 2abc67625c6ab1c78805ba37d43107aa439bb79e Mon Sep 17 00:00:00 2001 From: jenz Date: Fri, 13 Dec 2024 18:48:30 +0100 Subject: [PATCH] realized i had returned the wrong value --- spray_exploit_fixer/scripting/spray_exploit_fixer_2024.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {