summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_contact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/modern_contact.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_contact.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_contact.cpp b/plugins/Clist_modern/src/modern_contact.cpp
index 71753c5aee..816294ea61 100644
--- a/plugins/Clist_modern/src/modern_contact.cpp
+++ b/plugins/Clist_modern/src/modern_contact.cpp
@@ -107,7 +107,7 @@ int cliCompareContacts(const ClcContact *contact1, const ClcContact *contact2)
}
// one is offline: offline goes below online
- if (g_CluiData.fSortNoOfflineBottom == 0) {
+ if (!g_CluiData.fSortNoOfflineBottom) {
int statusa = c1->getStatus();
int statusb = c2->getStatus();
if ((statusa == ID_STATUS_OFFLINE) != (statusb == ID_STATUS_OFFLINE))