Skip to content

Commit

Permalink
Merge pull request #481 from zer0k-z/global-authcheck
Browse files Browse the repository at this point in the history
Add missing client auth check for points update
  • Loading branch information
zealain authored Apr 19, 2024
2 parents 2f27c1f + 72a0618 commit 1705850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/gokz-global.sp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1705850

Please sign in to comment.