summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_contact.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-03-03 12:45:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-03-03 12:45:23 +0300
commited45aa912e89bb1fabe829c9644d34803a24ddda (patch)
tree57fb87f3e03f82eb3d5d356e4fcaa7f89215a083 /plugins/Clist_modern/src/modern_contact.cpp
parentbde2e74d7aee14a127674aa91a93dc0c982281c8 (diff)
fixes #3383 (Clist_modern: get rid of inverted logic)
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 4a8420752a..8950b6c5c2 100644
--- a/plugins/Clist_modern/src/modern_contact.cpp
+++ b/plugins/Clist_modern/src/modern_contact.cpp
@@ -101,7 +101,7 @@ int cliCompareContacts(const ClcContact *contact1, const ClcContact *contact2)
}
// one is offline: offline goes below online
- if (!g_CluiData.fSortNoOfflineBottom) {
+ if (g_CluiData.fSortOfflineBottom) {
int statusa = c1->getStatus();
int statusb = c2->getStatus();
if ((statusa == ID_STATUS_OFFLINE) != (statusb == ID_STATUS_OFFLINE))