From 7de38a08b97e0554e318b8c25806cef5d47259e6 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 12 Jun 2014 17:49:53 +0000 Subject: headers of not adopted plugins moved to !Deprecated git-svn-id: http://svn.miranda-ng.org/main/trunk@9438 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MyDetails/src/mydetails.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'plugins/MyDetails/src/mydetails.cpp') diff --git a/plugins/MyDetails/src/mydetails.cpp b/plugins/MyDetails/src/mydetails.cpp index 7b8d6bf2f3..5316f302eb 100644 --- a/plugins/MyDetails/src/mydetails.cpp +++ b/plugins/MyDetails/src/mydetails.cpp @@ -488,19 +488,9 @@ static INT_PTR PluginCommand_SetMyStatusMessageUI(WPARAM wParam, LPARAM lParam) if (proto_num == -1) return -1; - if (protocols->CanSetStatusMsgPerProtocol() && !proto->CanSetStatusMsg()) + if (!proto->CanSetStatusMsg()) return -2; } - else if (ServiceExists(MS_SA_CHANGESTATUSMSG)) { - if (proto == NULL && status == 0) - CallService(MS_SA_CHANGESTATUSMSG, protocols->GetGlobalStatus(), NULL); - else if (status == 0) - CallService(MS_SA_CHANGESTATUSMSG, proto->status, (LPARAM)proto_name); - else - CallService(MS_SA_CHANGESTATUSMSG, status, (LPARAM)proto_name); - - return 0; - } if (proto == NULL || proto->status != ID_STATUS_OFFLINE) { if (!status_msg_dialog_open) { -- cgit v1.2.3