From 8cbf63303a7f35241fa1ba2bd4ca8306e81d1837 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 16 Sep 2014 13:51:27 +0000 Subject: useless service MS_CLIST_REMOVECONTACTMENUITEM deleted git-svn-id: http://svn.miranda-ng.org/main/trunk@10479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tlen/src/tlen.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'protocols/Tlen/src/tlen.cpp') diff --git a/protocols/Tlen/src/tlen.cpp b/protocols/Tlen/src/tlen.cpp index 7b4adbf6a6..92d7e4f813 100644 --- a/protocols/Tlen/src/tlen.cpp +++ b/protocols/Tlen/src/tlen.cpp @@ -351,11 +351,12 @@ void uninitMenuItems(TlenProtocol *proto) CallService(MS_CLIST_REMOVEMAINMENUITEM, (WPARAM)proto->hMenuMUC, (LPARAM) 0); CallService(MS_CLIST_REMOVEMAINMENUITEM, (WPARAM)proto->hMenuInbox, (LPARAM) 0); CallService(MS_CLIST_REMOVEMAINMENUITEM, (WPARAM)proto->hMenuRoot, (LPARAM) 0); - CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)proto->hMenuContactMUC, (LPARAM) 0); - CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)proto->hMenuPicture, (LPARAM) 0); - CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)proto->hMenuContactVoice, (LPARAM) 0); - CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)proto->hMenuContactRequestAuth, (LPARAM) 0); - CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)proto->hMenuContactGrantAuth, (LPARAM) 0); + + CallService(MO_REMOVEMENUITEM, (WPARAM)proto->hMenuContactMUC, 0); + CallService(MO_REMOVEMENUITEM, (WPARAM)proto->hMenuPicture, 0); + CallService(MO_REMOVEMENUITEM, (WPARAM)proto->hMenuContactVoice, 0); + CallService(MO_REMOVEMENUITEM, (WPARAM)proto->hMenuContactRequestAuth, 0); + CallService(MO_REMOVEMENUITEM, (WPARAM)proto->hMenuContactGrantAuth, 0); } TlenProtocol* tlenProtoInit(const char* pszProtoName, const TCHAR* tszUserName) -- cgit v1.2.3