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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp
index e892092094..816f92c603 100644
--- a/plugins/PluginUpdater/src/Events.cpp
+++ b/plugins/PluginUpdater/src/Events.cpp
@@ -49,10 +49,10 @@ int ModulesLoaded(WPARAM, LPARAM)
EmptyFolder(0, TRUE); // silently
if (AllowUpdateOnStartup())
- DoCheck(opts.bUpdateOnStartup);
+ DoCheck();
Timer = CreateWaitableTimer(NULL, FALSE, NULL);
- InitTimer();
+ mir_forkthread(InitTimer, (void*)0);
return 0;
}