mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix crash when importing default latch timeout
This commit is contained in:
parent
0110a0b53f
commit
d11e84246d
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ public class SystemConfigPatch: PatchObject
|
|||
patch.PingsEnabled = o.Value<bool>("pings_enabled");
|
||||
|
||||
if (o.ContainsKey("latch_timeout"))
|
||||
patch.LatchTimeout = o.Value<int>("latch_timeout");
|
||||
patch.LatchTimeout = o.Value<int?>("latch_timeout");
|
||||
|
||||
if (o.ContainsKey("member_default_private"))
|
||||
patch.MemberDefaultPrivate = o.Value<bool>("member_default_private");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue