Skip to content

Fix SetEnabled method to set enabled state correctly - #267

Merged
ErwinsExpertise merged 2 commits into
masterfrom
ErwinsExpertise-patch-1
Mar 30, 2026
Merged

ErwinsExpertise merged 2 commits into
masterfrom
ErwinsExpertise-patch-1

Conversation

@ErwinsExpertise

Copy link
Copy Markdown
Collaborator

This pull request makes a small but important fix to the SetEnabled method in the AntiCheat system. The change ensures that the method correctly sets the enabled state based on the provided argument, rather than always enabling it.

  • Fixed the SetEnabled method in anticheat/anticheat.go to assign the enabled field based on the enabled parameter, instead of always setting it to true.

@ErwinsExpertise
ErwinsExpertise requested a review from Hucaru March 27, 2026 17:06
@ErwinsExpertise ErwinsExpertise self-assigned this Mar 27, 2026
Removed the default enabling of automatic banning in the anticheat system.
@ErwinsExpertise

Copy link
Copy Markdown
Collaborator Author

Sorry, was a little too quick with this and missed it. :(

@ErwinsExpertise
ErwinsExpertise merged commit 5dbdb13 into master Mar 30, 2026
3 checks passed
@ErwinsExpertise
ErwinsExpertise deleted the ErwinsExpertise-patch-1 branch March 30, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants