summaryrefslogtreecommitdiff
path: root/protocols/YAMN
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-24 13:38:10 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-24 13:38:10 +0300
commit0fa39189ae1eea51681d472db38a290bc4df1cfe (patch)
treec4c5c8f5970947ed6c62418fd86106166db485a2 /protocols/YAMN
parent60fec7a89a7870d52ebd76315193b105973b1219 (diff)
PS_GETNAME: another old atavism removed
Diffstat (limited to 'protocols/YAMN')
-rw-r--r--protocols/YAMN/src/services.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/protocols/YAMN/src/services.cpp b/protocols/YAMN/src/services.cpp
index c7f1ea5f1c..153ce77c79 100644
--- a/protocols/YAMN/src/services.cpp
+++ b/protocols/YAMN/src/services.cpp
@@ -17,12 +17,6 @@ static INT_PTR Service_GetCaps(WPARAM wParam, LPARAM)
return 0;
}
-static INT_PTR Service_GetName(WPARAM wParam, LPARAM lParam)
-{
- mir_strncpy((char *)lParam, YAMN_DBMODULE, wParam);
- return 0;
-}
-
static INT_PTR Service_LoadIcon(WPARAM wParam, LPARAM)
{
if (LOWORD(wParam) == PLI_PROTOCOL)
@@ -190,7 +184,6 @@ void CreateServiceFunctions(void)
{
// Standard 'protocol' services
CreateServiceFunction(YAMN_DBMODULE PS_GETCAPS, Service_GetCaps);
- CreateServiceFunction(YAMN_DBMODULE PS_GETNAME, Service_GetName);
CreateServiceFunction(YAMN_DBMODULE PS_LOADICON, Service_LoadIcon);
// Checks mail