Skip to content

Don't allow editing an active infraction's expiration into the past #2032

@mbaruh

Description

@mbaruh

!infraction edit can take an ISO datetime to edit the expiration time, but there's no guard to prevent it from specifying a past date, immediately pardoning the infraction as a result.

The same goes for !infraction append.

Metadata

Metadata

Labels

a: moderationRelated to community moderation functionality: (moderation, defcon, verification)good first issueGood for newcomersp: 2 - normalNormal Priorityt: bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions