From f70460473d0f616d9baa5481a165d0487e6fc8aa Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 10 May 2013 21:28:42 +0000 Subject: crash fix git-svn-id: http://svn.miranda-ng.org/main/trunk@4629 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skypekit/skypekit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Skype/src') 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 +} -- cgit v1.2.3