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 --- protocols/LotusNotify/src/LotusNotify.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'protocols/LotusNotify/src') diff --git a/protocols/LotusNotify/src/LotusNotify.cpp b/protocols/LotusNotify/src/LotusNotify.cpp index 4c86622fa0..731fbc296d 100644 --- a/protocols/LotusNotify/src/LotusNotify.cpp +++ b/protocols/LotusNotify/src/LotusNotify.cpp @@ -847,15 +847,7 @@ INT_PTR GetCaps(WPARAM wParam, LPARAM) return 0; } -//gives name to protocol module -INT_PTR GetName(WPARAM wParam, LPARAM lParam) -{ - strncpy((char *)lParam, MODULENAME, wParam); - return 0; -} - - -//gives icon for proto module +// gives icon for proto module INT_PTR TMLoadIcon(WPARAM wParam, LPARAM) { UINT id; @@ -1066,7 +1058,6 @@ int CMPlugin::Load() g_plugin.setWord(hContact, "status", ID_STATUS_OFFLINE); CreateProtoServiceFunction(MODULENAME, PS_GETCAPS, GetCaps); - CreateProtoServiceFunction(MODULENAME, PS_GETNAME, GetName); CreateProtoServiceFunction(MODULENAME, PS_LOADICON, TMLoadIcon); CreateProtoServiceFunction(MODULENAME, PS_SETSTATUS, SetStatus); CreateProtoServiceFunction(MODULENAME, PS_GETSTATUS, GetStatus); -- cgit v1.2.3