summaryrefslogtreecommitdiff
path: root/protocols/ConnectionNotify
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/ConnectionNotify
parent60fec7a89a7870d52ebd76315193b105973b1219 (diff)
PS_GETNAME: another old atavism removed
Diffstat (limited to 'protocols/ConnectionNotify')
-rw-r--r--protocols/ConnectionNotify/src/ConnectionNotify.cpp8
1 files changed, 0 insertions, 8 deletions
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);