diff options
Diffstat (limited to 'plugins/Clist_modern/src/modern_contact.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_contact.cpp | 2 |
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 c94c0d5ab4..e4ef1ff3c9 100644 --- a/plugins/Clist_modern/src/modern_contact.cpp +++ b/plugins/Clist_modern/src/modern_contact.cpp @@ -141,7 +141,7 @@ int cliCompareContacts(const ClcContact *contact1, const ClcContact *contact2) break;
case SORTBY_PROTO:
- if (contact1->proto == NULL || contact1->proto == NULL)
+ if (contact1->proto == NULL || contact2->proto == NULL)
continue;
r = GetProtoIndex(contact1->proto) - GetProtoIndex(contact2->proto);
break;
|