fix crash when importing default latch timeout
This commit is contained in:
parent
0110a0b53f
commit
d11e84246d
@ -71,7 +71,7 @@ public class SystemConfigPatch: PatchObject
|
|||||||
patch.PingsEnabled = o.Value<bool>("pings_enabled");
|
patch.PingsEnabled = o.Value<bool>("pings_enabled");
|
||||||
|
|
||||||
if (o.ContainsKey("latch_timeout"))
|
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"))
|
if (o.ContainsKey("member_default_private"))
|
||||||
patch.MemberDefaultPrivate = o.Value<bool>("member_default_private");
|
patch.MemberDefaultPrivate = o.Value<bool>("member_default_private");
|
||||||
|
Loading…
Reference in New Issue
Block a user