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, 2 insertions, 3 deletions
diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp
index 816f92c603..90ad62e3fb 100644
--- a/plugins/PluginUpdater/src/Events.cpp
+++ b/plugins/PluginUpdater/src/Events.cpp
@@ -48,11 +48,10 @@ int ModulesLoaded(WPARAM, LPARAM)
else
EmptyFolder(0, TRUE); // silently
- if (AllowUpdateOnStartup())
- DoCheck();
+ CheckUpdateOnStartup();
Timer = CreateWaitableTimer(NULL, FALSE, NULL);
- mir_forkthread(InitTimer, (void*)0);
+ mir_forkthread(InitTimer, 0);
return 0;
}