summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-01 17:28:16 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-01 17:28:24 +0300
commit6cfdddff053784a0280f66dbe27b1089c3c6eda8 (patch)
tree77c501c6131dfa5ee7ac86b28256a8c1408a798c
parent9e3ee25d2f62ed95477616c2e15ddacdaa3f8ce2 (diff)
fixes #1632 ([Import] When importing an entire DB, it should not be checked for duplicates) - service mode doesn't check dups
-rw-r--r--plugins/Import/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Import/src/main.cpp b/plugins/Import/src/main.cpp
index c390e51304..d1a42b5c0a 100644
--- a/plugins/Import/src/main.cpp
+++ b/plugins/Import/src/main.cpp
@@ -98,7 +98,7 @@ static INT_PTR ServiceMode(WPARAM wParam, LPARAM)
if (wParam == 1) {
ptrW wszFullName(Utils_ReplaceVarsW(L"%miranda_userdata%\\%miranda_profilename%.dat.bak"));
if (!_waccess(wszFullName, 0)) {
- g_iImportOptions = IOPT_ADDUNKNOWN + IOPT_COMPLETE + IOPT_CHECKDUPS;
+ g_iImportOptions = IOPT_ADDUNKNOWN + IOPT_COMPLETE;
wcsncpy_s(importFile, MAX_PATH, wszFullName, _TRUNCATE);
RunWizard(new CProgressPageDlg(), true);
}