summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/QuotesProviderBase.cpp
diff options
context:
space:
mode:
authorDioksin <dioksin@ua.fm>2014-04-02 14:18:49 +0000
committerDioksin <dioksin@ua.fm>2014-04-02 14:18:49 +0000
commit09d94267629233582f3d56fa4dbea69c95dfea3c (patch)
tree4ade8527f13ba44d8f0411bdbd87216ee65aad47 /plugins/Quotes/src/QuotesProviderBase.cpp
parenta1cc2175f61db72a71b26c5be3787f977c021cfb (diff)
Quotes plugin reworked accordingly to Miranda NG requirements
git-svn-id: http://svn.miranda-ng.org/main/trunk@8826 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/src/QuotesProviderBase.cpp')
-rw-r--r--plugins/Quotes/src/QuotesProviderBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Quotes/src/QuotesProviderBase.cpp b/plugins/Quotes/src/QuotesProviderBase.cpp
index 92b5099f70..3751454b58 100644
--- a/plugins/Quotes/src/QuotesProviderBase.cpp
+++ b/plugins/Quotes/src/QuotesProviderBase.cpp
@@ -1,6 +1,6 @@
#include "StdAfx.h"
-extern int g_nStatus;
+extern bool g_bAutoUpdate;
extern HANDLE g_hEventWorkThreadStop;
@@ -235,7 +235,7 @@ const tstring& CQuotesProviderBase::GetURL()const
bool CQuotesProviderBase::IsOnline()
{
- return ID_STATUS_ONLINE == g_nStatus;
+ return g_bAutoUpdate;
}
void CQuotesProviderBase::AddContact(MCONTACT hContact)