summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_privacy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_privacy.cpp')
-rw-r--r--protocols/JabberG/src/jabber_privacy.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_privacy.cpp b/protocols/JabberG/src/jabber_privacy.cpp
index ac18e525cd..64b33c7916 100644
--- a/protocols/JabberG/src/jabber_privacy.cpp
+++ b/protocols/JabberG/src/jabber_privacy.cpp
@@ -104,11 +104,11 @@ void CJabberProto::OnIqResultPrivacyList(HXML iqNode, CJabberIqInfo*)
const TCHAR *itemType = xmlGetAttrValue(item, _T("type"));
PrivacyListRuleType nItemType = Else;
if (itemType) {
- if (!_tcsicmp(itemType, _T("jid")))
+ if (!mir_tstrcmpi(itemType, _T("jid")))
nItemType = Jid;
- else if (!_tcsicmp(itemType, _T("group")))
+ else if (!mir_tstrcmpi(itemType, _T("group")))
nItemType = Group;
- else if (!_tcsicmp(itemType, _T("subscription")))
+ else if (!mir_tstrcmpi(itemType, _T("subscription")))
nItemType = Subscription;
}
@@ -116,7 +116,7 @@ void CJabberProto::OnIqResultPrivacyList(HXML iqNode, CJabberIqInfo*)
const TCHAR *itemAction = xmlGetAttrValue(item, _T("action"));
BOOL bAllow = TRUE;
- if (itemAction && !_tcsicmp(itemAction, _T("deny")))
+ if (itemAction && !mir_tstrcmpi(itemAction, _T("deny")))
bAllow = FALSE;
const TCHAR *itemOrder = xmlGetAttrValue(item, _T("order"));