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/ConnectionNotify/src/ConnectionNotify.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'protocols/ConnectionNotify/src/ConnectionNotify.cpp') diff --git a/protocols/ConnectionNotify/src/ConnectionNotify.cpp b/protocols/ConnectionNotify/src/ConnectionNotify.cpp index d328c0bfab..c93ce046a6 100644 --- a/protocols/ConnectionNotify/src/ConnectionNotify.cpp +++ b/protocols/ConnectionNotify/src/ConnectionNotify.cpp @@ -167,13 +167,6 @@ INT_PTR GetCaps(WPARAM wParam, LPARAM) return 0; } -// gives name to protocol module -INT_PTR GetName(WPARAM wParam, LPARAM lParam) -{ - mir_strncpy((char*)lParam, PLUGINNAME, wParam); - return 0; -} - // gives icon for proto module INT_PTR TMLoadIcon(WPARAM wParam, LPARAM) { @@ -403,7 +396,6 @@ int CMPlugin::Load() g_plugin.setWord(hContact, "status", ID_STATUS_OFFLINE); CreateProtoServiceFunction(PLUGINNAME, PS_GETCAPS, GetCaps); - CreateProtoServiceFunction(PLUGINNAME, PS_GETNAME, GetName); CreateProtoServiceFunction(PLUGINNAME, PS_LOADICON, TMLoadIcon); CreateProtoServiceFunction(PLUGINNAME, PS_SETSTATUS, SetStatus); CreateProtoServiceFunction(PLUGINNAME, PS_GETSTATUS, GetStatus); -- cgit v1.2.3