From 488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Nov 2018 20:12:53 +0300 Subject: end of ME_OPT_INITIALISE related zoo in another plugins --- plugins/SplashScreen/src/main.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins/SplashScreen/src') diff --git a/plugins/SplashScreen/src/main.cpp b/plugins/SplashScreen/src/main.cpp index 89c9c2ec2d..08b15eb9b6 100644 --- a/plugins/SplashScreen/src/main.cpp +++ b/plugins/SplashScreen/src/main.cpp @@ -213,10 +213,6 @@ static int ModulesLoaded(WPARAM wParam, LPARAM lParam) } } - // Options initialize hook - HookEvent(ME_OPT_INITIALISE, OptInit); - HookEvent(ME_DB_CONTACT_SETTINGCHANGED, PlugDisableHook); - // Service to call splash CreateServiceFunction(MS_SHOWSPLASH, ShowSplashService); @@ -230,10 +226,11 @@ static int ModulesLoaded(WPARAM wParam, LPARAM lParam) int CMPlugin::Load() { HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded); + HookEvent(ME_OPT_INITIALISE, OptInit); + HookEvent(ME_DB_CONTACT_SETTINGCHANGED, PlugDisableHook); SplashMain(); mir_free(szMirDir); - return 0; } -- cgit v1.2.3