From b2bfe93013c31e7a14a749689308c6a3d93d59cb Mon Sep 17 00:00:00 2001 From: Iris System Date: Wed, 23 Nov 2022 03:13:33 +1300 Subject: [PATCH] chore: lint --- PluralKit.Bot/Commands/Autoproxy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Commands/Autoproxy.cs b/PluralKit.Bot/Commands/Autoproxy.cs index f260c916..c6bdc889 100644 --- a/PluralKit.Bot/Commands/Autoproxy.cs +++ b/PluralKit.Bot/Commands/Autoproxy.cs @@ -107,7 +107,7 @@ public class Autoproxy AutoproxyMode.Front => fronters.Count > 0 ? fronters[0] : null, AutoproxyMode.Member when settings.AutoproxyMember.HasValue => await ctx.Repository.GetMember(settings.AutoproxyMember.Value), AutoproxyMode.Latch when settings.AutoproxyMember.HasValue && ctx.Config.LatchTimeout == 0 => await ctx.Repository.GetMember(settings.AutoproxyMember.Value), - AutoproxyMode.Latch when settings.AutoproxyMember.HasValue => + AutoproxyMode.Latch when settings.AutoproxyMember.HasValue => _clock.GetCurrentInstant() - settings.LastLatchTimestamp > latchTimeout ? null : await ctx.Repository.GetMember(settings.AutoproxyMember.Value),