diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-29 19:52:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-29 19:52:35 +0300 |
commit | 509b46f98375153fad4157ceb18a8999fd6294f4 (patch) | |
tree | c0e6febf5d69b10abdee27bfacc45eb739085266 /plugins/DbEditorPP | |
parent | 5890b9a61ddfbd0fe84b7db2833bc4761211ffe8 (diff) |
major clutch removed with double service mode plugins launch
Diffstat (limited to 'plugins/DbEditorPP')
-rw-r--r-- | plugins/DbEditorPP/src/main.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp index dcb399e72f..cc855a2cfc 100644 --- a/plugins/DbEditorPP/src/main.cpp +++ b/plugins/DbEditorPP/src/main.cpp @@ -165,12 +165,10 @@ int PreShutdown(WPARAM, LPARAM) INT_PTR ServiceMode(WPARAM, LPARAM)
{
- if (!g_bServiceMode) {
- g_bServiceMode = true;
+ g_bServiceMode = true;
- IcoLibRegister();
- HookEvent(ME_DB_CONTACT_SETTINGCHANGED, DBSettingChanged);
- }
+ IcoLibRegister();
+ HookEvent(ME_DB_CONTACT_SETTINGCHANGED, DBSettingChanged);
return SERVICE_ONLYDB; // load database and then call us
}
|