summaryrefslogtreecommitdiff
path: root/plugins/BASS_interface
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/BASS_interface
parent9b35784c5042984fbb60785f0a4a41a64af545f6 (diff)
end of ME_OPT_INITIALISE related zoo in another plugins
Diffstat (limited to 'plugins/BASS_interface')
-rw-r--r--plugins/BASS_interface/src/Main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BASS_interface/src/Main.cpp b/plugins/BASS_interface/src/Main.cpp
index a55f34fd11..71b3c8ad6f 100644
--- a/plugins/BASS_interface/src/Main.cpp
+++ b/plugins/BASS_interface/src/Main.cpp
@@ -549,7 +549,6 @@ int OnModulesLoaded(WPARAM, LPARAM)
LoadBassLibrary(CurrBassPath);
- HookEvent(ME_OPT_INITIALISE, OptionsInit);
HookEvent(ME_FOLDERS_PATH_CHANGED, OnFoldersChanged);
return 0;
}
@@ -590,9 +589,10 @@ static IconItem iconList[] =
int CMPlugin::Load()
{
+ HookEvent(ME_DB_CONTACT_SETTINGCHANGED, OnSettingChanged);
+ HookEvent(ME_OPT_INITIALISE, OptionsInit);
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
HookEvent(ME_SYSTEM_SHUTDOWN, OnShutdown);
- HookEvent(ME_DB_CONTACT_SETTINGCHANGED, OnSettingChanged);
g_plugin.registerIcon(MODULENAME, iconList);
return 0;