From 6071a68cf1829b79f88270d16cb534865529c92c Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sun, 27 Jul 2014 08:39:37 +0000 Subject: temporary rollback git-svn-id: http://svn.miranda-ng.org/main/trunk@9964 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/PluginUpdater/src/Events.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/PluginUpdater/src/Events.cpp') diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp index 90ad62e3fb..816f92c603 100644 --- a/plugins/PluginUpdater/src/Events.cpp +++ b/plugins/PluginUpdater/src/Events.cpp @@ -48,10 +48,11 @@ int ModulesLoaded(WPARAM, LPARAM) else EmptyFolder(0, TRUE); // silently - CheckUpdateOnStartup(); + if (AllowUpdateOnStartup()) + DoCheck(); Timer = CreateWaitableTimer(NULL, FALSE, NULL); - mir_forkthread(InitTimer, 0); + mir_forkthread(InitTimer, (void*)0); return 0; } -- cgit v1.2.3