Skip to content

Commit

Permalink
fix: do not set cookies to fake clients (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushaway committed Jun 23, 2024
1 parent 2eaf07b commit 59dd57a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/nominations_extended.sp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#tryinclude <zleader>
#define REQUIRE_PLUGIN

#define NE_VERSION "1.11.2"
#define NE_VERSION "1.11.3"

public Plugin myinfo =
{
Expand Down Expand Up @@ -1475,7 +1475,7 @@ public void ReadClientCookies(int client) {

public void SetClientCookies(int client)
{
if (!AreClientCookiesCached(client))
if (!AreClientCookiesCached(client) || IsFakeClient(client))
return;

char sValue[8];
Expand Down

0 comments on commit 59dd57a

Please sign in to comment.