summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-05-31 17:59:23 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-05-31 17:59:23 +0000
commitafdb3f779b8d9059a474882ad78974b3ce021ff7 (patch)
tree1e686bae704205bdef7818f65662f690804a89e1 /plugins/NewAwaySysMod/src
parentb6ea3074d3f48c436fcb2cc825d274035202dec8 (diff)
forgotten flag
git-svn-id: http://svn.miranda-ng.org/main/trunk@13942 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewAwaySysMod/src')
-rw-r--r--plugins/NewAwaySysMod/src/MsgEventAdded.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp
index 0d6e151793..20411a6b86 100644
--- a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp
+++ b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp
@@ -47,9 +47,9 @@ public:
TCString Reply;
};
-
+// _ad must be allocated using "new CAutoreplyData()"
void __cdecl AutoreplyDelayThread(void *_ad)
-{ // _ad must be allocated using "new CAutoreplyData()"
+{
CAutoreplyData *ad = (CAutoreplyData*)_ad;
_ASSERT(ad && ad->hContact && ad->Reply.GetLen());
char *szProto = GetContactProto(ad->hContact);
@@ -66,7 +66,7 @@ void __cdecl AutoreplyDelayThread(void *_ad)
DBEVENTINFO dbeo = { 0 };
dbeo.cbSize = sizeof(dbeo);
dbeo.eventType = EVENTTYPE_MESSAGE;
- dbeo.flags = DBEF_SENT;
+ dbeo.flags = DBEF_SENT | DBEF_UTF;
dbeo.szModule = szProto;
dbeo.timestamp = time(NULL);