summaryrefslogtreecommitdiff
path: root/plugins/SplashScreen
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-12 20:12:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-12 20:12:53 +0300
commit488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (patch)
tree96b0db981b4f5054f24d484902b597ba7da1c1a5 /plugins/SplashScreen
parent9b35784c5042984fbb60785f0a4a41a64af545f6 (diff)
end of ME_OPT_INITIALISE related zoo in another plugins
Diffstat (limited to 'plugins/SplashScreen')
-rw-r--r--plugins/SplashScreen/src/main.cpp7
1 files changed, 2 insertions, 5 deletions
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;
}