summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/CLUIFrames
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_nicer/src/CLUIFrames')
-rw-r--r--plugins/Clist_nicer/src/CLUIFrames/movetogroup.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/plugins/Clist_nicer/src/CLUIFrames/movetogroup.cpp b/plugins/Clist_nicer/src/CLUIFrames/movetogroup.cpp
index 7daa97cf9d..c0456bb1e1 100644
--- a/plugins/Clist_nicer/src/CLUIFrames/movetogroup.cpp
+++ b/plugins/Clist_nicer/src/CLUIFrames/movetogroup.cpp
@@ -1,6 +1,5 @@
#include <commonheaders.h>
-HANDLE hOnCntMenuBuild;
HANDLE hPriorityItem = 0, hFloatingItem = 0;
static int OnContactMenuBuild(WPARAM wParam,LPARAM lParam)
@@ -34,14 +33,6 @@ static int OnContactMenuBuild(WPARAM wParam,LPARAM lParam)
int MTG_OnmodulesLoad(WPARAM wParam,LPARAM lParam)
{
- hOnCntMenuBuild=HookEvent(ME_CLIST_PREBUILDCONTACTMENU,OnContactMenuBuild);
- return 0;
-}
-
-int UnloadMoveToGroup(void)
-{
- if (hOnCntMenuBuild)
- UnhookEvent(hOnCntMenuBuild);
-
+ HookEvent(ME_CLIST_PREBUILDCONTACTMENU,OnContactMenuBuild);
return 0;
}