diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-12 20:12:53 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-12 20:12:53 +0300 |
commit | 488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (patch) | |
tree | 96b0db981b4f5054f24d484902b597ba7da1c1a5 /plugins/HistoryStats | |
parent | 9b35784c5042984fbb60785f0a4a41a64af545f6 (diff) |
end of ME_OPT_INITIALISE related zoo in another plugins
Diffstat (limited to 'plugins/HistoryStats')
-rw-r--r-- | plugins/HistoryStats/src/main.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/HistoryStats/src/main.cpp b/plugins/HistoryStats/src/main.cpp index ea7bc5ea82..1683788a1b 100644 --- a/plugins/HistoryStats/src/main.cpp +++ b/plugins/HistoryStats/src/main.cpp @@ -357,9 +357,6 @@ static int EventModulesLoaded(WPARAM, LPARAM) g_pSettings = new SettingsSerializer(con::ModHistoryStats);
g_pSettings->readFromDB();
- // integrate into options dialog
- HookEvent(ME_OPT_INITIALISE, EventOptInitialise);
-
// integrate with icolib
IconLib::init();
IconLib::registerCallback(MenuIconsChanged, 0);
@@ -424,9 +421,9 @@ int CMPlugin::Load() CreateServiceFunction(MS_HISTORYSTATS_ISEXCLUDED, SvcIsExcluded);
CreateServiceFunction(MS_HISTORYSTATS_SETEXCLUDE, SvcSetExclude);
- // hook "modules loaded" to perform further initialization
+ // hooks
+ HookEvent(ME_OPT_INITIALISE, EventOptInitialise);
HookEvent(ME_SYSTEM_MODULESLOADED, EventModulesLoaded);
-
return 0;
}
|