summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/init.cpp
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/UserInfoEx/src/init.cpp
parent9b35784c5042984fbb60785f0a4a41a64af545f6 (diff)
end of ME_OPT_INITIALISE related zoo in another plugins
Diffstat (limited to 'plugins/UserInfoEx/src/init.cpp')
-rw-r--r--plugins/UserInfoEx/src/init.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/src/init.cpp b/plugins/UserInfoEx/src/init.cpp
index dc30e6f5ec..c71c1c64e8 100644
--- a/plugins/UserInfoEx/src/init.cpp
+++ b/plugins/UserInfoEx/src/init.cpp
@@ -93,9 +93,6 @@ static int OnModulesLoaded(WPARAM, LPARAM)
{
myGlobals.PopupActionsExist = ServiceExists(MS_POPUP_REGISTERACTIONS);
- // options
- OptionsLoadModule();
-
// create services to receive string lists of languages and timezones
SvcConstantsLoadModule();
@@ -205,6 +202,7 @@ int CMPlugin::Load()
SvcReminderLoadModule();
// Now the module is loaded! Start initializing certain things
+ HookEvent(ME_OPT_INITIALISE, OnInitOptions);
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
HookEvent(ME_TTB_MODULELOADED, OnTopToolBarLoaded);
HookEvent(ME_SYSTEM_SHUTDOWN, OnShutdown);