summaryrefslogtreecommitdiffstats
path: root/logic/lists/ForgeVersionList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/lists/ForgeVersionList.cpp')
-rw-r--r--logic/lists/ForgeVersionList.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/lists/ForgeVersionList.cpp b/logic/lists/ForgeVersionList.cpp
index 9b698135..491a43d7 100644
--- a/logic/lists/ForgeVersionList.cpp
+++ b/logic/lists/ForgeVersionList.cpp
@@ -162,6 +162,10 @@ void ForgeListLoadTask::executeTask()
auto job = new DownloadJob("Version index");
// we do not care if the version is stale or not.
auto forgeListEntry = MMC->metacache()->resolveEntry("minecraftforge", "list.json");
+
+ // verify by poking the server.
+ forgeListEntry->stale = true;
+
job->addCacheDownload(QUrl(JSON_URL), forgeListEntry);
listJob.reset(job);
connect(listJob.get(), SIGNAL(succeeded()), SLOT(list_downloaded()));