summaryrefslogtreecommitdiff
path: root/protocols/NewsAggregator
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/NewsAggregator')
-rw-r--r--protocols/NewsAggregator/Src/FeedEditor.cpp2
-rw-r--r--protocols/NewsAggregator/Src/ImportFeed.cpp2
-rw-r--r--protocols/NewsAggregator/Src/stdafx.h1
-rw-r--r--protocols/NewsAggregator/Src/version.h2
4 files changed, 4 insertions, 3 deletions
diff --git a/protocols/NewsAggregator/Src/FeedEditor.cpp b/protocols/NewsAggregator/Src/FeedEditor.cpp
index 74233edba6..e154b5a37a 100644
--- a/protocols/NewsAggregator/Src/FeedEditor.cpp
+++ b/protocols/NewsAggregator/Src/FeedEditor.cpp
@@ -197,7 +197,7 @@ bool CFeedEditor::OnApply()
g_plugin.setWString(hContact, "URL", strfeedurl);
g_plugin.setDword(hContact, "UpdateTime", m_checktime.GetInt());
g_plugin.setWString(hContact, "MsgFormat", strtagedit);
- g_plugin.setWord(hContact, "Status", Proto_GetStatus(MODULENAME));
+ g_plugin.setWord(hContact, "Status", g_nStatus);
if (m_useauth.IsChecked()) {
g_plugin.setByte(hContact, "UseAuth", 1);
g_plugin.setWString(hContact, "Login", m_login.GetText());
diff --git a/protocols/NewsAggregator/Src/ImportFeed.cpp b/protocols/NewsAggregator/Src/ImportFeed.cpp
index a906e27959..f4390cd30c 100644
--- a/protocols/NewsAggregator/Src/ImportFeed.cpp
+++ b/protocols/NewsAggregator/Src/ImportFeed.cpp
@@ -170,7 +170,7 @@ public:
g_plugin.setByte(hContact, "CheckState", 1);
g_plugin.setDword(hContact, "UpdateTime", DEFAULT_UPDATE_TIME);
g_plugin.setWString(hContact, "MsgFormat", TAGSDEFAULT);
- g_plugin.setWord(hContact, "Status", Proto_GetStatus(MODULENAME));
+ g_plugin.setWord(hContact, "Status", g_nStatus);
if (m_list != nullptr) {
int iItem = m_list->AddItem(text, -1);
diff --git a/protocols/NewsAggregator/Src/stdafx.h b/protocols/NewsAggregator/Src/stdafx.h
index 388f83ade2..de0f7ed33e 100644
--- a/protocols/NewsAggregator/Src/stdafx.h
+++ b/protocols/NewsAggregator/Src/stdafx.h
@@ -66,6 +66,7 @@ extern UINT_PTR timerId;
extern bool ThreadRunning;
extern bool UpdateListFlag;
extern wchar_t tszRoot[MAX_PATH];
+extern int g_nStatus;
struct CMPlugin : public PLUGIN<CMPlugin>
{
diff --git a/protocols/NewsAggregator/Src/version.h b/protocols/NewsAggregator/Src/version.h
index e9d19559e7..d98222f973 100644
--- a/protocols/NewsAggregator/Src/version.h
+++ b/protocols/NewsAggregator/Src/version.h
@@ -1,7 +1,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 1
#define __RELEASE_NUM 0
-#define __BUILD_NUM 5
+#define __BUILD_NUM 6
#include <stdver.h>