summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_chat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_chat.cpp')
-rw-r--r--protocols/JabberG/src/jabber_chat.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/JabberG/src/jabber_chat.cpp b/protocols/JabberG/src/jabber_chat.cpp
index 3df9b3df91..e3512d3321 100644
--- a/protocols/JabberG/src/jabber_chat.cpp
+++ b/protocols/JabberG/src/jabber_chat.cpp
@@ -63,14 +63,14 @@ struct TRoleOrAffiliationInfo
wchar_t *title;
- BOOL check(JABBER_RESOURCE_STATUS *me, JABBER_RESOURCE_STATUS *him)
+ bool check(JABBER_RESOURCE_STATUS *me, JABBER_RESOURCE_STATUS *him)
{
- if (me->m_affiliation == AFFILIATION_OWNER) return TRUE;
- if (me == him) return FALSE;
- if (me->m_affiliation <= him->m_affiliation) return FALSE;
- if (me->m_role < min_role) return FALSE;
- if (me->m_affiliation < min_affiliation) return FALSE;
- return TRUE;
+ if (me->m_affiliation == AFFILIATION_OWNER) return true;
+ if (me == him) return false;
+ if (me->m_affiliation <= him->m_affiliation) return false;
+ if (me->m_role < min_role) return false;
+ if (me->m_affiliation < min_affiliation) return false;
+ return true;
}
void translate()