From 5e9e63c45e37917ffb0acd83832d0d8f99d01883 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 28 Nov 2012 17:38:49 +0000 Subject: new macroses for MS_PROTO_CHAINRECV: ProtoChainRecv, ProtoChainRecvMsg & ProtoChainRecvFile git-svn-id: http://svn.miranda-ng.org/main/trunk@2540 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IRCG/src/irclib.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'protocols/IRCG/src/irclib.cpp') diff --git a/protocols/IRCG/src/irclib.cpp b/protocols/IRCG/src/irclib.cpp index c018b57a02..217861ba90 100644 --- a/protocols/IRCG/src/irclib.cpp +++ b/protocols/IRCG/src/irclib.cpp @@ -1368,18 +1368,10 @@ void CDccSession::DoChatReceive() if ( *pStart ) { // send it off to some messaging module - PROTORECVEVENT pre = {0}; pre.timestamp = (DWORD)time(NULL); -// pre.szMessage = (char*)DoColorCodes((TCHAR*)pStart, true, false); //!!!! // remove color codes pre.szMessage = pStart; - - CCSDATA ccs = {0}; - ccs.szProtoService = PSR_MESSAGE; - ccs.hContact = di->hContact; - ccs.lParam = (LPARAM) ⪯ - - CallService( MS_PROTO_CHAINRECV, 0, (LPARAM) & ccs); + ProtoChainRecvMsg(di->hContact, &pre); } cbInBuf -= pEnd - pStart; -- cgit v1.2.3