summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_chat.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-18 20:22:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-18 20:22:53 +0000
commitdda548686c0f8b0d0bf03315120132013ffa1bb0 (patch)
tree59f1ff72eb832ab22e9c15d3cae8812793a2f9af /protocols/MSN/src/msn_chat.cpp
parenta76ced5d4ff852dcbe7a96824ca1bb6dc219a1fd (diff)
useless chat event removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@2765 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_chat.cpp')
-rw-r--r--protocols/MSN/src/msn_chat.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/MSN/src/msn_chat.cpp b/protocols/MSN/src/msn_chat.cpp
index 620477c6a3..cdeb14d969 100644
--- a/protocols/MSN/src/msn_chat.cpp
+++ b/protocols/MSN/src/msn_chat.cpp
@@ -39,10 +39,8 @@ HANDLE CMsnProto::MSN_GetChatInernalHandle(HANDLE hContact)
return result;
}
-
-int CMsnProto::MSN_ChatInit(WPARAM wParam, LPARAM)
+int CMsnProto::MSN_ChatInit(ThreadData *info)
{
- ThreadData *info = (ThreadData*)wParam;
InterlockedIncrement(&sttChatID);
_ltot(sttChatID, info->mChatID, 10);
@@ -95,7 +93,7 @@ void CMsnProto::MSN_ChatStart(ThreadData* info)
MSN_StartStopTyping(info, false);
- NotifyEventHooks(hInitChat, (WPARAM)info, 0);
+ MSN_ChatInit(info);
// add all participants onto the list
GCDEST gcd = { m_szModuleName, { NULL }, GC_EVENT_JOIN };