summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/irclib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/src/irclib.cpp')
-rw-r--r--protocols/IRCG/src/irclib.cpp10
1 files changed, 1 insertions, 9 deletions
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;