diff options
author | George Hazan <george.hazan@gmail.com> | 2023-09-06 15:18:11 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-09-06 15:18:11 +0300 |
commit | 446419e28c8ce362b75902618253e5dc41f07671 (patch) | |
tree | 44c7c3b010cdbb228cc99e4a776fb2c11d2cc673 /protocols/Discord | |
parent | 38b24044db30c606e9bb3ebe0849b16c9fdc6e62 (diff) |
code cleaning
Diffstat (limited to 'protocols/Discord')
-rw-r--r-- | protocols/Discord/src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/server.cpp b/protocols/Discord/src/server.cpp index e9189112d3..94f41aa5ed 100644 --- a/protocols/Discord/src/server.cpp +++ b/protocols/Discord/src/server.cpp @@ -124,7 +124,7 @@ void CDiscordProto::OnReceiveHistory(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest _i64toa_s(msgid, szMsgId, _countof(szMsgId), 10);
MEVENT hDbEvent = db_event_getById(m_szModuleName, szMsgId);
if (hDbEvent != 0)
- bSucceeded = 0 == db_event_edit(hDbEvent, &dbei);
+ bSucceeded = 0 == db_event_edit(hDbEvent, &dbei, true);
if (!bSucceeded) {
dbei.szId = szMsgId;
|