Open DanielOaks opened 3 years ago
Proposal: make this an extban. It'll accept un-normalized inputs like exp:1h,m:alice!*@*
, then normalize them to exp:1611919844,m:alice!*@*
(UNIX time of expiration) for listing and deletion purposes.
I presume this will cover mutes as well. I remember the discussion and concluding points wrt to have CS BAN ADD <account>|<mask> [<duration>]
and CS MUTE ADD <account>|<mask> [<duration>]
as a frontend of sorts for these sort of bans. We don't need to have the
I was wondering if #1502 would work with this if it was being implemented.
Yes and yes.
Removal should probably normalize out the time arg (so you can unban someone without having to copy and paste the exact time of the expiration?)
Sometimes you only wanna ban someone for a short while and being able to do that easily would be nice. I'm not sure what syntax other ircds use for this, it's something at least one other server does support though iirc.