Skip to content

Commit

Permalink
Fix(reponse): string comparison case-insensitive to prevent false fla…
Browse files Browse the repository at this point in the history
…gs (#16)
  • Loading branch information
Rushaway authored Oct 13, 2024
1 parent 310928c commit 0663e69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/ProxyKiller.sp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public Plugin myinfo =
name = PROXYKILLER_NAME,
author = "Sikari, .Rushaway, maxime1907",
description = "Kill them proxies!",
version = "2.3",
version = "2.3.1",
url = "https://github.com/srcdslab/sm-plugin-ProxyKiller"
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ bool GetResultFromResponse(const char[] response, ProxyServiceContext ctx)

if (ctx.Service.ExpectedResponse.Compare == ResponseCompare_EQUAL)
{
return StrEqual(responseValue, expectValue);
return StrEqual(responseValue, expectValue, false);
}
else
{
return !StrEqual(responseValue, expectValue);
return !StrEqual(responseValue, expectValue, false);
}
}

Expand Down

0 comments on commit 0663e69

Please sign in to comment.