summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdfile/src/file.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/stdfile/src/file.cpp b/src/core/stdfile/src/file.cpp
index c25d04eed1..68004435b2 100644
--- a/src/core/stdfile/src/file.cpp
+++ b/src/core/stdfile/src/file.cpp
@@ -325,7 +325,9 @@ static INT_PTR Proto_RecvFileT(WPARAM, LPARAM lParam)
dbei.szUserId = pre->szUserId;
dbei.eventType = EVENTTYPE_FILE;
dbei.flags = DBEF_UTF;
- if (pre->dwFlags & PREF_CREATEREAD)
+ if (pre->dwFlags & PRFF_SENT)
+ dbei.flags |= DBEF_SENT;
+ if (pre->dwFlags & PRFF_READ)
dbei.flags |= DBEF_READ;
if ((pre->dwFlags & PRFF_UNICODE) == PRFF_UNICODE) {