summaryrefslogtreecommitdiff
path: root/plugins/Import/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Import/src')
-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)) {