summaryrefslogtreecommitdiff
path: root/protocols/YAMN/src/proto/pop3
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/YAMN/src/proto/pop3')
-rw-r--r--protocols/YAMN/src/proto/pop3/pop3comm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/YAMN/src/proto/pop3/pop3comm.cpp b/protocols/YAMN/src/proto/pop3/pop3comm.cpp
index d5b229f78c..98888a1733 100644
--- a/protocols/YAMN/src/proto/pop3/pop3comm.cpp
+++ b/protocols/YAMN/src/proto/pop3/pop3comm.cpp
@@ -287,7 +287,7 @@ int RegisterPOP3Plugin(WPARAM,LPARAM)
hContact = db_find_first();
while(hContact)
{
- szProto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
+ szProto = GetContactProto(hContact);
if (szProto != NULL && strcmp(szProto, YAMN_DBMODULE)==0)
{
if (!DBGetContactSettingString(hContact,YAMN_DBMODULE,"Id",&dbv)) {