summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_caps.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_caps.h')
-rw-r--r--protocols/JabberG/src/jabber_caps.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/protocols/JabberG/src/jabber_caps.h b/protocols/JabberG/src/jabber_caps.h
index 54417da858..e734b79bc3 100644
--- a/protocols/JabberG/src/jabber_caps.h
+++ b/protocols/JabberG/src/jabber_caps.h
@@ -268,7 +268,7 @@ class CJabberClientCapsManager
{
protected:
- CRITICAL_SECTION m_cs;
+ mir_cs m_cs;
CJabberClientCaps *m_pClients;
CJabberProto *ppro;
@@ -279,13 +279,6 @@ public:
CJabberClientCapsManager(CJabberProto* proto);
~CJabberClientCapsManager();
- __inline void Lock()
- { EnterCriticalSection(&m_cs);
- }
- __inline void Unlock()
- { LeaveCriticalSection(&m_cs);
- }
-
void AddDefaultCaps();
JabberCapsBits GetClientCaps(TCHAR *szNode, TCHAR *szVer);