summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PluginUpdater/src/Events.cpp')
-rw-r--r--plugins/PluginUpdater/src/Events.cpp5
1 files changed, 3 insertions, 2 deletions
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;
}