summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-09 21:36:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-09 21:36:23 +0300
commitfebc07d9130541053e61a3080e8f0dd9fa6699b2 (patch)
tree16d45f9fceade63fa563e61af7ed2b6c2d000ace
parent23e2a8a4e4ef1e72bce629b99bc686d0804fd085 (diff)
grrrm...
-rw-r--r--plugins/Import/src/import.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Import/src/import.cpp b/plugins/Import/src/import.cpp
index fe266db89d..9f854ced14 100644
--- a/plugins/Import/src/import.cpp
+++ b/plugins/Import/src/import.cpp
@@ -969,7 +969,7 @@ static void ImportHistory(MCONTACT hContact, PROTOACCOUNT **protocol, int protoC
continue;
// check for duplicate entries
- if (nImportOptions != IOPT_COMPLETE && IsDuplicateEvent(hDst, dbei)) {
+ if ((nImportOptions & IOPT_COMPLETE) != IOPT_COMPLETE && IsDuplicateEvent(hDst, dbei)) {
nDupes++;
continue;
}