From 72a061848370c0c46f75d251e69d34d7366a73d9 Mon Sep 17 00:00:00 2001 From: "zer0.k" Date: Tue, 30 May 2023 13:26:47 +0200 Subject: [PATCH] Add missing client auth check for points update --- addons/sourcemod/scripting/gokz-global.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sourcemod/scripting/gokz-global.sp b/addons/sourcemod/scripting/gokz-global.sp index 79f8b6ab..51242d1c 100644 --- a/addons/sourcemod/scripting/gokz-global.sp +++ b/addons/sourcemod/scripting/gokz-global.sp @@ -374,7 +374,7 @@ public void OnMapEnd() public void GOKZ_OnOptionChanged(int client, const char[] option, any newValue) { if (StrEqual(option, gC_CoreOptionNames[Option_Mode]) - && GlobalAPI_IsInit()) + && GlobalAPI_IsInit() && IsClientAuthorized(client)) { UpdatePoints(client); }