summaryrefslogtreecommitdiff
path: root/plugins/IgnoreState/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IgnoreState/src/main.cpp')
-rw-r--r--plugins/IgnoreState/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/IgnoreState/src/main.cpp b/plugins/IgnoreState/src/main.cpp
index d97e81254b..3f46a7856b 100644
--- a/plugins/IgnoreState/src/main.cpp
+++ b/plugins/IgnoreState/src/main.cpp
@@ -133,9 +133,6 @@ int onModulesLoaded(WPARAM wParam,LPARAM lParam)
{
HookEvent(ME_OPT_INITIALISE, onOptInitialise);
- //IcoLib support
- Icon_Register(g_hInst, LPGEN("Ignore State"), iconList, SIZEOF(iconList));
-
fill_filter();
// Set initial value for all contacts
@@ -169,6 +166,9 @@ extern "C" int __declspec(dllexport) Load(void)
HookEvent(ME_SYSTEM_MODULESLOADED, onModulesLoaded);
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, onContactSettingChanged);
+ //IcoLib support
+ Icon_Register(g_hInst, LPGEN("Ignore State"), iconList, SIZEOF(iconList));
+
hExtraIcon = ExtraIcon_Register("ignore", LPGEN("Ignore State"), "ignore_full");
return 0;