summaryrefslogtreecommitdiff
path: root/plugins/AuthState/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AuthState/src/main.cpp')
-rw-r--r--plugins/AuthState/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/AuthState/src/main.cpp b/plugins/AuthState/src/main.cpp
index be989b00e2..62d63b1b72 100644
--- a/plugins/AuthState/src/main.cpp
+++ b/plugins/AuthState/src/main.cpp
@@ -165,9 +165,6 @@ static IconItem iconList[] =
int onModulesLoaded(WPARAM, LPARAM)
{
- // IcoLib support
- Icon_Register(g_hInst, "Auth State", iconList, SIZEOF(iconList));
-
// Set initial value for all contacts
for (MCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact))
onExtraImageApplying(hContact, 1);
@@ -211,6 +208,9 @@ extern "C" int __declspec(dllexport) Load(void)
hUserMenu = Menu_AddContactMenuItem(&mi);
}
+ // IcoLib support
+ Icon_Register(g_hInst, "Auth State", iconList, SIZEOF(iconList));
+
// extra icons
hExtraIcon = ExtraIcon_Register("authstate", LPGEN("Auth State"), "authgrant_icon");