summaryrefslogtreecommitdiff
path: root/plugins/MyDetails/src/data.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-05-18 10:23:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-05-18 10:23:15 +0000
commitc1fe671e216c15ac541a05ce8d73213837033426 (patch)
treec0da4960f941d9b71bcdca909a143783ebd312c6 /plugins/MyDetails/src/data.cpp
parent5e5cabbee2c2249be4e34efc9bafa1b05136111a (diff)
unneeded check removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@16844 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);