summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-06-10 22:14:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-06-10 22:14:23 +0300
commita11fa565fdafe698269bc02aaa3231e6854fd835 (patch)
tree5ba38a2ac6fc7702a75c16c5bc490b0a56ef2d2f /protocols
parent210acddc8bc8d48c7a3d71c09db0eed3f5a9c2b0 (diff)
useless check removed
Diffstat (limited to 'protocols')
-rw-r--r--protocols/NewsAggregator/Src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/NewsAggregator/Src/Utils.cpp b/protocols/NewsAggregator/Src/Utils.cpp
index 43928d098c..c64981e58f 100644
--- a/protocols/NewsAggregator/Src/Utils.cpp
+++ b/protocols/NewsAggregator/Src/Utils.cpp
@@ -94,7 +94,7 @@ void GetNewsData(wchar_t *tszUrl, char **szData, MCONTACT hContact, CFeedEditor
else if (nlhrReply->resultCode == 401) {
Netlib_LogfW(hNetlibUser, L"Code 401: feed %s needs auth data.", tszUrl);
- if (CAuthRequest(pEditDlg, hContact).DoModal() == IDOK)
+ if (CAuthRequest(pEditDlg, hContact).DoModal())
GetNewsData(tszUrl, szData, hContact, pEditDlg);
}
else Netlib_LogfW(hNetlibUser, L"Code %d: Failed getting feed data %s.", nlhrReply->resultCode, tszUrl);