summaryrefslogtreecommitdiff
path: root/protocols/ConnectionNotify/src/ConnectionNotify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ConnectionNotify/src/ConnectionNotify.cpp')
-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);