Skip to content

Commit

Permalink
Clarify the definition of an active ban.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnCZek committed Jan 21, 2025
1 parent 257bc8b commit 18cc38e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions web/v2/ban.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ export interface APIPlayerBan {
timeAdded: string;

/**
* If the ban is still active.
* If the ban is still active or was disabled.
*
* For the user to be banned the `expiration` date has to be passed or `active` has to be false.
* When a ban was issued by mistake, staff may deactivate it manually, but it still shows as
* inactive in the ban history. Does not change if the ban expires naturally on the expiration date.
*
* For the user to be banned, the `expiration` date has to be passed or `active` has to be false.
*/
active: boolean;

Expand Down

0 comments on commit 18cc38e

Please sign in to comment.