summaryrefslogtreecommitdiff
path: root/protocols/NewsAggregator
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-12-04 16:08:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-12-04 16:08:03 +0300
commit3bb16e798cb51d5764aacbefd4edf26f52d8c4f0 (patch)
tree59dbb53fc9496d660ec2ef2846a4eab0f1720b88 /protocols/NewsAggregator
parent3216d8df5cb355f34c82ed10b7e40bab7525b697 (diff)
GetContactProto: useless duplicate function replaced with standard Proto_GetBaseAccountName
Diffstat (limited to 'protocols/NewsAggregator')
-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 00144af250..43928d098c 100644
--- a/protocols/NewsAggregator/Src/Utils.cpp
+++ b/protocols/NewsAggregator/Src/Utils.cpp
@@ -25,7 +25,7 @@ bool UpdateListFlag = FALSE;
bool IsMyContact(MCONTACT hContact)
{
- const char *szProto = GetContactProto(hContact);
+ const char *szProto = Proto_GetBaseAccountName(hContact);
return szProto != nullptr && mir_strcmp(MODULENAME, szProto) == 0;
}