diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-25 14:58:56 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-25 14:58:56 +0300 |
commit | 0f9e1002ec21154bc476fbfeab0d21f796515823 (patch) | |
tree | 678f870457343d977afe06b154cfa5323b75e8da /protocols/Discord/src | |
parent | ee7a91629442ba40e876e19e4cdd7af173e8e840 (diff) |
DbEvent_GetTextW: useless second parameter removed
Diffstat (limited to 'protocols/Discord/src')
-rw-r--r-- | protocols/Discord/src/dispatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/dispatch.cpp b/protocols/Discord/src/dispatch.cpp index 58a66bd90e..2f3686af46 100644 --- a/protocols/Discord/src/dispatch.cpp +++ b/protocols/Discord/src/dispatch.cpp @@ -395,7 +395,7 @@ void CDiscordProto::OnCommandMessage(const JSONNode &pRoot, bool bIsNew) DB::EventInfo dbei;
dbei.cbBlob = -1;
if (!db_event_get(hOldEvent, &dbei)) {
- ptrW wszOldText(DbEvent_GetTextW(&dbei, CP_UTF8));
+ ptrW wszOldText(DbEvent_GetTextW(&dbei));
if (wszOldText)
wszText.Insert(0, wszOldText);
if (dbei.flags & DBEF_SENT)
|