diff options
Diffstat (limited to 'protocols/MSN/src/msn_chat.cpp')
-rw-r--r-- | protocols/MSN/src/msn_chat.cpp | 6 |
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 };
|