From d11e84246d34c7fc304d5589cec885125b442d0a Mon Sep 17 00:00:00 2001 From: spiral Date: Sat, 4 Dec 2021 18:32:01 -0500 Subject: [PATCH] fix crash when importing default latch timeout --- PluralKit.Core/Models/Patch/SystemConfigPatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Core/Models/Patch/SystemConfigPatch.cs b/PluralKit.Core/Models/Patch/SystemConfigPatch.cs index ecd91e0f..2c32b41e 100644 --- a/PluralKit.Core/Models/Patch/SystemConfigPatch.cs +++ b/PluralKit.Core/Models/Patch/SystemConfigPatch.cs @@ -71,7 +71,7 @@ public class SystemConfigPatch: PatchObject patch.PingsEnabled = o.Value("pings_enabled"); if (o.ContainsKey("latch_timeout")) - patch.LatchTimeout = o.Value("latch_timeout"); + patch.LatchTimeout = o.Value("latch_timeout"); if (o.ContainsKey("member_default_private")) patch.MemberDefaultPrivate = o.Value("member_default_private");