summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Skype/src/skype_messages.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_messages.cpp b/protocols/Skype/src/skype_messages.cpp
index 031f9a0239..31b1b4d03d 100644
--- a/protocols/Skype/src/skype_messages.cpp
+++ b/protocols/Skype/src/skype_messages.cpp
@@ -3,6 +3,8 @@
int CSkypeProto::OnMessagePreCreate(WPARAM, LPARAM lParam)
{
MessageWindowEvent *evt = (MessageWindowEvent *)lParam;
+ if ( strcmp(GetContactProto(evt->hContact), this->m_szModuleName))
+ return 0;
MessageRef message(evt->seq);
SEBinary guid;