summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/contact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables/src/contact.cpp')
-rw-r--r--plugins/Variables/src/contact.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/Variables/src/contact.cpp b/plugins/Variables/src/contact.cpp
index 2d5e1fca0d..399d2d6dcc 100644
--- a/plugins/Variables/src/contact.cpp
+++ b/plugins/Variables/src/contact.cpp
@@ -65,7 +65,6 @@ static builtinCnfs[] =
{ CNF_COHOMEPAGE, STR_COHOMEPAGE },
{ CCNF_ACCOUNT, STR_ACCOUNT },
- { CCNF_PROTOCOL, STR_PROTOCOL },
{ CCNF_STATUS, STR_STATUS },
{ CCNF_INTERNALIP, STR_INTERNALIP },
{ CCNF_EXTERNALIP, STR_EXTERNALIP },
@@ -128,12 +127,6 @@ wchar_t* getContactInfoT(uint8_t type, MCONTACT hContact)
return pa ? mir_wstrdup(pa->tszAccountName) : nullptr;
}
- case CCNF_PROTOCOL:
- char protoname[128];
- if (CallProtoService(szProto, PS_GETNAME, (WPARAM)sizeof(protoname), (LPARAM)protoname))
- return nullptr;
- return mir_a2u(protoname);
-
case CCNF_STATUS:
return mir_wstrdup(Clist_GetStatusModeDescription(db_get_w(hContact, szProto, "Status", ID_STATUS_OFFLINE), 0));