summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator/Src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-07 20:14:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-07 20:14:21 +0300
commitf60c78abfbd5f279b30de729046b805bba8e00b0 (patch)
tree1120bba828b2151604e98163aa7a3fe221264068 /plugins/NewsAggregator/Src
parent26a653ecae7edbeefb7966e08714e152c73b78eb (diff)
Proto_GetStatus is used everywhere instead of PS_GETSTATUS
Diffstat (limited to 'plugins/NewsAggregator/Src')
-rw-r--r--plugins/NewsAggregator/Src/Options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewsAggregator/Src/Options.cpp b/plugins/NewsAggregator/Src/Options.cpp
index bf3b9f77fc..b84aabe6a2 100644
--- a/plugins/NewsAggregator/Src/Options.cpp
+++ b/plugins/NewsAggregator/Src/Options.cpp
@@ -606,7 +606,7 @@ void CImportFeed::OnOk(CCtrlBase*)
db_set_b(hContact, MODULE, "CheckState", 1);
db_set_dw(hContact, MODULE, "UpdateTime", DEFAULT_UPDATE_TIME);
db_set_ws(hContact, MODULE, "MsgFormat", TAGSDEFAULT);
- db_set_w(hContact, MODULE, "Status", CallProtoService(MODULE, PS_GETSTATUS, 0, 0));
+ db_set_w(hContact, MODULE, "Status", Proto_GetStatus(MODULE));
if (m_list != nullptr) {
int iItem = m_list->AddItem(text, -1);
@@ -835,7 +835,7 @@ void CFeedEditor::OnOk(CCtrlBase*)
db_set_ws(hContact, MODULE, "URL", strfeedurl);
db_set_dw(hContact, MODULE, "UpdateTime", (DWORD)m_checktime.GetInt());
db_set_ws(hContact, MODULE, "MsgFormat", strtagedit);
- db_set_w(hContact, MODULE, "Status", CallProtoService(MODULE, PS_GETSTATUS, 0, 0));
+ db_set_w(hContact, MODULE, "Status", Proto_GetStatus(MODULE));
if (m_useauth.IsChecked()) {
db_set_b(hContact, MODULE, "UseAuth", 1);
db_set_ws(hContact, MODULE, "Login", m_login.GetText());