diff options
-rw-r--r-- | plugins/NewAwaySysMod/src/MsgEventAdded.cpp | 6 |
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);
|