summaryrefslogtreecommitdiff
path: root/protocols/Tlen/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-09-16 13:51:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-09-16 13:51:27 +0000
commit8cbf63303a7f35241fa1ba2bd4ca8306e81d1837 (patch)
tree0f52f4e8ad9d91059ff33c8cd8fb0a824a456106 /protocols/Tlen/src
parent666ca215b155788ed81079abcf6c283df0549a45 (diff)
useless service MS_CLIST_REMOVECONTACTMENUITEM deleted
git-svn-id: http://svn.miranda-ng.org/main/trunk@10479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tlen/src')
-rw-r--r--protocols/Tlen/src/tlen.cpp11
1 files changed, 6 insertions, 5 deletions
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)