diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-01-10 18:28:28 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-01-10 18:28:28 +0300 |
| commit | 3d30ed65f9e226b7b183b23ce5dba435ec491f0b (patch) | |
| tree | 512db95fca97a5b6f028ed4ca05f473cbd11190c /protocols/IRCG/src | |
| parent | b58bd0a705dba9a32e4db1420e2d615c6ee6bd41 (diff) | |
DBEVENTINFO::timestamp to become 64-bit integer
Diffstat (limited to 'protocols/IRCG/src')
| -rw-r--r-- | protocols/IRCG/src/commandmonitor.cpp | 6 | ||||
| -rw-r--r-- | protocols/IRCG/src/irclib.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp index 4daf29d855..9ad4727601 100644 --- a/protocols/IRCG/src/commandmonitor.cpp +++ b/protocols/IRCG/src/commandmonitor.cpp @@ -226,7 +226,7 @@ int CIrcProto::AddOutgoingMessageToDB(MCONTACT hContact, const wchar_t *msg) DBEVENTINFO dbei = {};
dbei.szModule = m_szModuleName;
dbei.eventType = EVENTTYPE_MESSAGE;
- dbei.timestamp = (uint32_t)time(0);
+ dbei.iTimestamp = (uint32_t)time(0);
dbei.flags = DBEF_SENT | DBEF_UTF;
dbei.pBlob = mir_utf8encodeW(S);
dbei.cbBlob = (uint32_t)mir_strlen((char*)dbei.pBlob) + 1;
@@ -700,7 +700,7 @@ bool CIrcProto::OnIrc_PRIVMSG(const CIrcMessage *pmsg) T2Utf utf(mess);
DB::EventInfo dbei;
- dbei.timestamp = (uint32_t)time(0);
+ dbei.iTimestamp = (uint32_t)time(0);
dbei.pBlob = utf;
setWString(hContact, "User", pmsg->prefix.sUser);
setWString(hContact, "Host", pmsg->prefix.sHost);
@@ -1147,7 +1147,7 @@ bool CIrcProto::IsCTCP(const CIrcMessage *pmsg) setWString(hContact, "Host", pmsg->prefix.sHost);
DB::EventInfo dbei;
- dbei.timestamp = (uint32_t)time(0);
+ dbei.iTimestamp = (uint32_t)time(0);
ProtoChainRecvFile(hContact, DB::FILE_BLOB(di, T2Utf(sFile)), dbei);
}
}
diff --git a/protocols/IRCG/src/irclib.cpp b/protocols/IRCG/src/irclib.cpp index 2861324bb0..281812c903 100644 --- a/protocols/IRCG/src/irclib.cpp +++ b/protocols/IRCG/src/irclib.cpp @@ -1275,7 +1275,7 @@ void CDccSession::DoChatReceive() if (*pStart) { // send it off to some messaging module DB::EventInfo dbei; - dbei.timestamp = (uint32_t)time(0); + dbei.iTimestamp = (uint32_t)time(0); dbei.pBlob = pStart; ProtoChainRecvMsg(di->hContact, dbei); } |
