From 8333824d99bf9f627056a76020ead12ccf36942c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 8 Jan 2013 19:08:58 +0000 Subject: fixed checking news manually part2 git-svn-id: http://svn.miranda-ng.org/main/trunk@3022 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewsAggregator/Src/Update.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewsAggregator') 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); -- cgit v1.2.3