Skip to content

[API] fix: treat zero-duration bans as permanent#72

Merged
7reax merged 1 commit into
ver/beta10from
fix/ban-zero-duration
Jun 23, 2026
Merged

[API] fix: treat zero-duration bans as permanent#72
7reax merged 1 commit into
ver/beta10from
fix/ban-zero-duration

Conversation

@7reax

@7reax 7reax commented Jun 23, 2026

Copy link
Copy Markdown
Member

A ban duration of 0 was creating an instantly-expired ban. Zero/non-positive durations now produce a permanent ban

@7reax
7reax requested a review from MagixGames June 23, 2026 19:56
@7reax
7reax enabled auto-merge (squash) June 23, 2026 19:56

@MagixGames MagixGames left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea

@7reax
7reax merged commit c64e079 into ver/beta10 Jun 23, 2026
1 check passed
@7reax
7reax deleted the fix/ban-zero-duration branch June 23, 2026 20:34
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