summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src
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/Db3x_mmap/src
parent5890b9a61ddfbd0fe84b7db2833bc4761211ffe8 (diff)
major clutch removed with double service mode plugins launch
Diffstat (limited to 'plugins/Db3x_mmap/src')
-rw-r--r--plugins/Db3x_mmap/src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/init.cpp b/plugins/Db3x_mmap/src/init.cpp
index 1cca7c767d..3e3db8301b 100644
--- a/plugins/Db3x_mmap/src/init.cpp
+++ b/plugins/Db3x_mmap/src/init.cpp
@@ -102,7 +102,7 @@ LBL_Error:
return nullptr;
}
- if (SetServiceModePlugin(L"import") != SERVICE_ONLYDB) {
+ if (SetServiceModePlugin(L"import") != ERROR_SUCCESS) {
if (IDYES == MessageBoxW(nullptr, TranslateT(MISSING_PLUG_MSG), L"Miranda NG", MB_YESNO))
Utils_OpenUrl("https://miranda-ng.org/p/Import");
goto LBL_Error;