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/HistoryStats/src/main.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins/HistoryStats') 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; } -- cgit v1.2.3