summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-05-10 21:28:42 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-05-10 21:28:42 +0000
commitf70460473d0f616d9baa5481a165d0487e6fc8aa (patch)
tree05c226d6dbc5cec5c879c3d19d72163419f85f2f
parent76e982c797c1aadf8ef4b5d468e81641c405aaaa (diff)
crash fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@4629 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Skype/src/skypekit/skypekit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Skype/src/skypekit/skypekit.cpp b/protocols/Skype/src/skypekit/skypekit.cpp
index 233b7b0535..d06f505969 100644
--- a/protocols/Skype/src/skypekit/skypekit.cpp
+++ b/protocols/Skype/src/skypekit/skypekit.cpp
@@ -41,7 +41,7 @@ CTransfer* CSkype::newTransfer(int oid)
return new CTransfer(oid, this);
}
-CContactSearch* CSkype::newContactSearch(int oid)
+CContactSearch* CSkype::newContactSearch(int oid)
{
return new CContactSearch(oid, this);
}
@@ -73,6 +73,6 @@ void CSkype::OnMessage (
const MessageRef & supersedesHistoryMessage,
const ConversationRef & conversation)
{
- if (this->proto)
+ if (this->proto && this->onMessagedCallback)
(proto->*onMessagedCallback)(conversation, message);
-} \ No newline at end of file
+}