From ee68ce42c9057252c9e8bb0024f294a74595e0ba Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Tue, 12 Oct 2021 17:13:12 +0100 Subject: [PATCH] fix a typo that was causing update checks after every startup --- core/src/main/groovy/com/muwire/core/MuWireSettings.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/groovy/com/muwire/core/MuWireSettings.groovy b/core/src/main/groovy/com/muwire/core/MuWireSettings.groovy index de79239d..c482c0bd 100644 --- a/core/src/main/groovy/com/muwire/core/MuWireSettings.groovy +++ b/core/src/main/groovy/com/muwire/core/MuWireSettings.groovy @@ -102,7 +102,7 @@ class MuWireSettings { downloadRetryInterval = Integer.parseInt(props.getProperty("downloadRetryInterval","60")) downloadMaxFailures = Integer.parseInt(props.getProperty("downloadMaxFailures","10")) updateCheckInterval = Integer.parseInt(props.getProperty("updateCheckInterval","24")) - lastUpdateCheck = Long.parseLong(props.getProperty("lastUpdateChec","0")) + lastUpdateCheck = Long.parseLong(props.getProperty("lastUpdateCheck","0")) autoDownloadUpdate = Boolean.parseBoolean(props.getProperty("autoDownloadUpdate","true")) updateType = props.getProperty("updateType","jar") shareDownloadedFiles = Boolean.parseBoolean(props.getProperty("shareDownloadedFiles","true"))