From ed45aa912e89bb1fabe829c9644d34803a24ddda Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 3 Mar 2023 12:45:23 +0300 Subject: fixes #3383 (Clist_modern: get rid of inverted logic) --- plugins/Clist_modern/src/modern_contact.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Clist_modern/src/modern_contact.cpp') 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)) -- cgit v1.2.3