summaryrefslogtreecommitdiff
path: root/plugins/Import
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-29 19:52:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-29 19:52:35 +0300
commit509b46f98375153fad4157ceb18a8999fd6294f4 (patch)
treec0e6febf5d69b10abdee27bfacc45eb739085266 /plugins/Import
parent5890b9a61ddfbd0fe84b7db2833bc4761211ffe8 (diff)
major clutch removed with double service mode plugins launch
Diffstat (limited to 'plugins/Import')
-rw-r--r--plugins/Import/src/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/Import/src/main.cpp b/plugins/Import/src/main.cpp
index 2f31ed23c2..86706d178a 100644
--- a/plugins/Import/src/main.cpp
+++ b/plugins/Import/src/main.cpp
@@ -116,10 +116,7 @@ static int OnExit(WPARAM, LPARAM)
static INT_PTR ServiceMode(WPARAM, LPARAM)
{
- if (!g_bServiceMode) {
- g_bServiceMode = true;
- return SERVICE_ONLYDB;
- }
+ g_bServiceMode = true;
ptrW wszFullName(Utils_ReplaceVarsW(L"%miranda_userdata%\\%miranda_profilename%.dat.bak"));
if (!_waccess(wszFullName, 0)) {