diff options
Diffstat (limited to 'src/core/stdauth/auth.cpp')
-rw-r--r-- | src/core/stdauth/auth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdauth/auth.cpp b/src/core/stdauth/auth.cpp index e124c10bbf..07cb8f4b94 100644 --- a/src/core/stdauth/auth.cpp +++ b/src/core/stdauth/auth.cpp @@ -69,7 +69,7 @@ static int AuthEventAdded(WPARAM, LPARAM lParam) CONTACTINFO ci = {0};
ci.cbSize = sizeof(ci);
ci.hContact = hContact;
- ci.szProto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
+ ci.szProto = GetContactProto(hContact);
ci.dwFlag = CNF_UNIQUEID | CNF_TCHAR;
if ( !CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM)&ci)) {
switch (ci.type) {
|