summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/NewsAggregator/Src/CheckFeed.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/NewsAggregator/Src/CheckFeed.cpp b/plugins/NewsAggregator/Src/CheckFeed.cpp
index eb78f14a63..3af1de71da 100644
--- a/plugins/NewsAggregator/Src/CheckFeed.cpp
+++ b/plugins/NewsAggregator/Src/CheckFeed.cpp
@@ -208,8 +208,6 @@ void CheckCurrentFeed(MCONTACT hContact)
GetNewsData(szURL, &szData, hContact, nullptr);
mir_free(szURL);
- g_plugin.setDword(hContact, "LastCheck", (DWORD)time(0));
-
if (szData == nullptr)
return;
@@ -431,6 +429,7 @@ void CheckCurrentFeed(MCONTACT hContact)
}
}
}
+ g_plugin.setDword(hContact, "LastCheck", (DWORD)time(0));
}
/////////////////////////////////////////////////////////////////////////////////////////