summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-01-08 19:08:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-01-08 19:08:58 +0000
commit8333824d99bf9f627056a76020ead12ccf36942c (patch)
treedb63fc5f6ac29436bf492fe5dd0a460f133365fa /plugins/NewsAggregator
parent82ee92ab91e97f986ebafbee993bf20ff39bde12 (diff)
fixed checking news manually part2
git-svn-id: http://svn.miranda-ng.org/main/trunk@3022 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewsAggregator')
-rw-r--r--plugins/NewsAggregator/Src/Update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewsAggregator/Src/Update.cpp b/plugins/NewsAggregator/Src/Update.cpp
index 2ff5b0a071..2ad280a968 100644
--- a/plugins/NewsAggregator/Src/Update.cpp
+++ b/plugins/NewsAggregator/Src/Update.cpp
@@ -60,7 +60,7 @@ VOID CALLBACK timerProc2(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)
KillTimer(NULL, timerId);
ThreadRunning = FALSE;
- if (!Miranda_Terminated())
+ if (db_get_b(NULL, MODULE, "AutoUpdate", 1) != 0 && !Miranda_Terminated())
{
CheckAllFeeds(0, 1);
timerId = SetTimer(NULL, 0, 30000, (TIMERPROC)timerProc);