From 59dd57a5d6989bf320fd155d00e36cd6ac403450 Mon Sep 17 00:00:00 2001 From: Rushaway Date: Sun, 23 Jun 2024 12:54:48 +0200 Subject: [PATCH] fix: do not set cookies to fake clients (#10) --- addons/sourcemod/scripting/nominations_extended.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/sourcemod/scripting/nominations_extended.sp b/addons/sourcemod/scripting/nominations_extended.sp index 36a90dc..97a5ff3 100644 --- a/addons/sourcemod/scripting/nominations_extended.sp +++ b/addons/sourcemod/scripting/nominations_extended.sp @@ -48,7 +48,7 @@ #tryinclude #define REQUIRE_PLUGIN -#define NE_VERSION "1.11.2" +#define NE_VERSION "1.11.3" public Plugin myinfo = { @@ -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];