From 3d30ed65f9e226b7b183b23ce5dba435ec491f0b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 10 Jan 2025 18:28:28 +0300 Subject: DBEVENTINFO::timestamp to become 64-bit integer --- plugins/StopSpamMod/src/utilities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/StopSpamMod/src/utilities.cpp') diff --git a/plugins/StopSpamMod/src/utilities.cpp b/plugins/StopSpamMod/src/utilities.cpp index 95581f9b47..7de5e6b749 100644 --- a/plugins/StopSpamMod/src/utilities.cpp +++ b/plugins/StopSpamMod/src/utilities.cpp @@ -260,7 +260,7 @@ void HistoryLog(MCONTACT hContact, char *data, int event_type, int flags) Event.szModule = MODULENAME; Event.eventType = event_type; Event.flags = flags | DBEF_UTF; - Event.timestamp = (uint32_t)time(0); + Event.iTimestamp = (uint32_t)time(0); Event.cbBlob = (uint32_t)mir_strlen(data) + 1; Event.pBlob = _strdup(data); db_event_add(hContact, &Event); -- cgit v1.2.3