From dda548686c0f8b0d0bf03315120132013ffa1bb0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 18 Dec 2012 20:22:53 +0000 Subject: useless chat event removed git-svn-id: http://svn.miranda-ng.org/main/trunk@2765 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_chat.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'protocols/MSN/src/msn_chat.cpp') 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 }; -- cgit v1.2.3