From 9df1d043e49857f232c094803f07f432bca89d1a Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Thu, 19 Dec 2019 18:35:44 +0000 Subject: [PATCH] do not initialize the update client if running as a plugin --- core/src/main/groovy/com/muwire/core/Core.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/groovy/com/muwire/core/Core.groovy b/core/src/main/groovy/com/muwire/core/Core.groovy index 386c317b..e10c3014 100644 --- a/core/src/main/groovy/com/muwire/core/Core.groovy +++ b/core/src/main/groovy/com/muwire/core/Core.groovy @@ -380,7 +380,7 @@ public class Core { connectionAcceptor.start() connectionEstablisher.start() hostCache.waitForLoad() - updateClient.start() + updateClient?.start() } public void shutdown() {