diff options
Diffstat (limited to 'plugins/BuddyExpectator/src/BuddyExpectator.cpp')
-rw-r--r-- | plugins/BuddyExpectator/src/BuddyExpectator.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/BuddyExpectator/src/BuddyExpectator.cpp b/plugins/BuddyExpectator/src/BuddyExpectator.cpp index fa0dcb9876..091c912a6b 100644 --- a/plugins/BuddyExpectator/src/BuddyExpectator.cpp +++ b/plugins/BuddyExpectator/src/BuddyExpectator.cpp @@ -614,12 +614,6 @@ int ModulesLoaded(WPARAM, LPARAM) ////////////////////////////////////////////////////////////////////////////
- Icon_Register(hInst, "BuddyExpectator", iconList, SIZEOF(iconList));
-
- HookEvent(ME_SKIN2_ICONSCHANGED, onIconsChanged);
-
- onIconsChanged(0,0);
-
if (options.enableMissYou) {
HookEvent(ME_CLIST_PREBUILDCONTACTMENU, onPrebuildContactMenu);
@@ -702,6 +696,12 @@ extern "C" int __declspec(dllexport) Load(void) db_set_dw(hContact, MODULE_NAME, "CreationTime", current_time);
}
+ Icon_Register(hInst, "BuddyExpectator", iconList, SIZEOF(iconList));
+
+ HookEvent(ME_SKIN2_ICONSCHANGED, onIconsChanged);
+
+ onIconsChanged(0, 0);
+
hExtraIcon = ExtraIcon_Register("buddy_exp", LPGEN("Buddy Expectator"), "enabled_icon");
return 0;
|