summaryrefslogtreecommitdiff
path: root/plugins/MyDetails/src/data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MyDetails/src/data.cpp')
-rw-r--r--plugins/MyDetails/src/data.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/MyDetails/src/data.cpp b/plugins/MyDetails/src/data.cpp
index 638d0a928f..88f9b1eab1 100644
--- a/plugins/MyDetails/src/data.cpp
+++ b/plugins/MyDetails/src/data.cpp
@@ -273,11 +273,6 @@ void Protocol::GetAvatar()
}
-bool Protocol::CanGetNick()
-{
- return ServiceExists(MS_CONTACT_GETCONTACTINFO) != FALSE;
-}
-
int Protocol::GetNickMaxLength()
{
if (!ProtoServiceExists(name, PS_GETMYNICKNAMEMAXLENGTH))
@@ -291,10 +286,6 @@ int Protocol::GetNickMaxLength()
TCHAR *Protocol::GetNick()
{
- // See if can get one
- if (!CanGetNick())
- return NULL;
-
// Get it
CONTACTINFO ci = { 0 };
ci.cbSize = sizeof(ci);