summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/src/db.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/GTalkExt/src/db.cpp')
-rw-r--r--protocols/GTalkExt/src/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/GTalkExt/src/db.cpp b/protocols/GTalkExt/src/db.cpp
index a1658dbdcf..27290afafb 100644
--- a/protocols/GTalkExt/src/db.cpp
+++ b/protocols/GTalkExt/src/db.cpp
@@ -92,7 +92,7 @@ void RenewPseudocontactHandles()
HANDLE hContact = db_find_first();
while (hContact) {
if (DBGetContactSettingByte(hContact, SHORT_PLUGIN_NAME, PSEUDOCONTACT_FLAG, 0)) {
- LPCSTR proto = (LPCSTR)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
+ LPCSTR proto = (LPCSTR)GetContactProto(hContact);
DBWriteContactSettingDword(0, proto, PSEUDOCONTACT_LINK, (DWORD)hContact);
}
hContact = db_find_next(hContact);