summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/src/services.cpp')
-rw-r--r--protocols/IRCG/src/services.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/protocols/IRCG/src/services.cpp b/protocols/IRCG/src/services.cpp
index ae0ecb7267..e31a1ac7c9 100644
--- a/protocols/IRCG/src/services.cpp
+++ b/protocols/IRCG/src/services.cpp
@@ -175,10 +175,11 @@ void InitContactMenus(void)
void UninitContactMenus(void)
{
- CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hUMenuChanSettings, 0);
- CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hUMenuWhois, 0);
- CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hUMenuDisconnect, 0);
- CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)hUMenuIgnore, 0);
+ CallService(MO_REMOVEMENUITEM, (WPARAM)hUMenuChanSettings, 0);
+ CallService(MO_REMOVEMENUITEM, (WPARAM)hUMenuWhois, 0);
+ CallService(MO_REMOVEMENUITEM, (WPARAM)hUMenuDisconnect, 0);
+ CallService(MO_REMOVEMENUITEM, (WPARAM)hUMenuIgnore, 0);
+
DestroyServiceFunction(hMenuChanSettings);
DestroyServiceFunction(hMenuWhois);
DestroyServiceFunction(hMenuDisconnect);