From 18cc38ea53ff3b9ff8c1eaaf7920c19b6d04107e Mon Sep 17 00:00:00 2001 From: ShawnCZek Date: Tue, 21 Jan 2025 16:24:01 +0100 Subject: [PATCH] Clarify the definition of an active ban. --- web/v2/ban.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/web/v2/ban.ts b/web/v2/ban.ts index 71bd0c7..5830695 100644 --- a/web/v2/ban.ts +++ b/web/v2/ban.ts @@ -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;