summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Skype/src/skype_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp
index a5518085e5..3c9cab6546 100644
--- a/protocols/Skype/src/skype_proto.cpp
+++ b/protocols/Skype/src/skype_proto.cpp
@@ -624,7 +624,7 @@ int __cdecl CSkypeProto::UserIsTyping(HANDLE hContact, int type)
if (hContact && this->IsOnline() && this->m_iStatus != ID_STATUS_INVISIBLE)
{
ptrW sid(::db_get_wsa(hContact, this->m_szModuleName, SKYPE_SETTINGS_SID));
- if (::wcsicmp(sid, this->login) != 0)
+ if (sid != NULL && ::wcsicmp(sid, this->login) != 0)
{
SEStringList targets;
targets.append((char *)ptrA(::mir_utf8encodeW(sid)));