summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <Mataes2007@gmail.com>2019-02-28 11:42:33 +0300
committerKirill Volinsky <Mataes2007@gmail.com>2019-02-28 11:42:33 +0300
commit6e8bc6e0f7b998e4d3b6755d3b4113b5a083cefa (patch)
tree7783a9aad24fb06ea8464e065f39db050b05696f
parentda2c4abfc249d194d36b4bdc5dca1b711a9685f1 (diff)
NewsAggregator: fixed getting new rss
-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));
}
/////////////////////////////////////////////////////////////////////////////////////////