summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_privacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_privacy.h')
-rw-r--r--protocols/JabberG/src/jabber_privacy.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/protocols/JabberG/src/jabber_privacy.h b/protocols/JabberG/src/jabber_privacy.h
index 440c400319..6867b8b073 100644
--- a/protocols/JabberG/src/jabber_privacy.h
+++ b/protocols/JabberG/src/jabber_privacy.h
@@ -321,11 +321,11 @@ protected:
TCHAR *m_szActiveListName;
TCHAR *m_szDefaultListName;
CPrivacyList *m_pLists;
- CRITICAL_SECTION m_cs;
BOOL m_bModified;
public:
CJabberProto* m_proto;
+ CRITICAL_SECTION m_cs;
CPrivacyListManager(CJabberProto *ppro)
{
@@ -343,16 +343,6 @@ public:
RemoveAllLists();
DeleteCriticalSection(&m_cs);
};
- BOOL Lock()
- {
- EnterCriticalSection(&m_cs);
- return TRUE;
- }
- BOOL Unlock()
- {
- LeaveCriticalSection(&m_cs);
- return TRUE;
- }
void SetActiveListName(const TCHAR *szListName)
{
replaceStrT(m_szActiveListName, szListName);