summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_caps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_caps.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_caps.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/protocols/JabberG/src/jabber_caps.cpp b/protocols/JabberG/src/jabber_caps.cpp
index 6d2d6c7095..e4ce3fd3f1 100755
--- a/protocols/JabberG/src/jabber_caps.cpp
+++ b/protocols/JabberG/src/jabber_caps.cpp
@@ -585,21 +585,6 @@ CJabberClientCaps* CJabberClientCapsManager::FindClient(const char *szNode)
return m_arCaps.find((CJabberClientCaps*)&szNode);
}
-JabberCapsBits CJabberClientCapsManager::GetClientCaps(const char *szNode, const char *szVer)
-{
- mir_cslockfull lck(m_cs);
- CJabberClientCaps *pClient = FindClient(szNode);
- if (!pClient) {
- lck.unlock();
- Netlib_Logf(0, "CAPS: get no caps for: %s, %s", szNode, szVer);
- return JABBER_RESOURCE_CAPS_UNINIT;
- }
- JabberCapsBits jcbCaps = pClient->GetPartialCaps(szVer);
- lck.unlock();
- Netlib_Logf(0, "CAPS: get caps %I64x for: %s, %s", jcbCaps, szNode, szVer);
- return jcbCaps;
-}
-
CJabberClientPartialCaps* CJabberClientCapsManager::GetPartialCaps(const char *szNode, const char *szHash)
{
mir_cslock lck(m_cs);