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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/IRCG/src/irclib.cpp b/protocols/IRCG/src/irclib.cpp
index 4b6737f153..2861324bb0 100644
--- a/protocols/IRCG/src/irclib.cpp
+++ b/protocols/IRCG/src/irclib.cpp
@@ -1274,10 +1274,10 @@ void CDccSession::DoChatReceive()
if (*pStart) {
// send it off to some messaging module
- PROTORECVEVENT pre = {};
- pre.timestamp = (uint32_t)time(0);
- pre.szMessage = pStart;
- ProtoChainRecvMsg(di->hContact, &pre);
+ DB::EventInfo dbei;
+ dbei.timestamp = (uint32_t)time(0);
+ dbei.pBlob = pStart;
+ ProtoChainRecvMsg(di->hContact, dbei);
}
cbInBuf -= pEnd - pStart;