summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp
index c62a8e6db1..c965d90a0e 100644
--- a/protocols/SkypeWeb/src/skype_proto.cpp
+++ b/protocols/SkypeWeb/src/skype_proto.cpp
@@ -98,12 +98,10 @@ MCONTACT CSkypeProto::AddToList(int, PROTOSEARCHRESULT *psr)
{
debugLogA("CSkypeProto::AddToList");
-
- ptrA skypeName(mir_t2a(ptrT(psr->id.t)));
- if (skypeName == NULL)
+ if (psr->id.a == NULL)
return NULL;
- MCONTACT hContact = AddContact(skypeName);
+ MCONTACT hContact = AddContact(psr->id.a);
return hContact;
}