From 0fa39189ae1eea51681d472db38a290bc4df1cfe Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 24 Jan 2024 13:38:10 +0300 Subject: PS_GETNAME: another old atavism removed --- plugins/Clist_blind/src/clc.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/Clist_blind') diff --git a/plugins/Clist_blind/src/clc.cpp b/plugins/Clist_blind/src/clc.cpp index 5a57f0523a..d8e912baf8 100644 --- a/plugins/Clist_blind/src/clc.cpp +++ b/plugins/Clist_blind/src/clc.cpp @@ -71,9 +71,7 @@ static wchar_t* GetProtoName(ClcContact *item) PROTOACCOUNT *acc = Proto_GetAccount(item->pce->szProto); if (acc == nullptr) { - char description[128]; - CallProtoService(item->pce->szProto, PS_GETNAME, sizeof(description), (LPARAM)description); - mir_snwprintf(proto_name, L"%S", description); + mir_snwprintf(proto_name, L"%S", item->pce->szProto); return proto_name; } -- cgit v1.2.3