summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-27 11:18:52 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-04-27 11:18:52 +0200
commitd78c9d23d5ad5e1341e46094d7f9e29686acaa7e (patch)
treea25e4f14cb92e3af8d2f9e0453757d856528b335 /protocols/IRCG/src
parent37071053f2bfb38733d0ef912b3a414f67b8be03 (diff)
code cleaning
Diffstat (limited to 'protocols/IRCG/src')
-rw-r--r--protocols/IRCG/src/commandmonitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp
index a7868bd26b..52d369a5ba 100644
--- a/protocols/IRCG/src/commandmonitor.cpp
+++ b/protocols/IRCG/src/commandmonitor.cpp
@@ -227,7 +227,7 @@ int CIrcProto::AddOutgoingMessageToDB(MCONTACT hContact, const wchar_t *msg)
dbei.szModule = m_szModuleName;
dbei.eventType = EVENTTYPE_MESSAGE;
dbei.timestamp = (DWORD)time(nullptr);
- dbei.flags = DBEF_SENT + DBEF_UTF;
+ dbei.flags = DBEF_SENT | DBEF_UTF;
dbei.pBlob = (PBYTE)mir_utf8encodeW(S);
dbei.cbBlob = (DWORD)mir_strlen((char*)dbei.pBlob) + 1;
db_event_add(hContact, &dbei);