aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/room.cpp b/room.cpp
index ae341e1b..632e79df 100644
--- a/room.cpp
+++ b/room.cpp
@@ -844,6 +844,6 @@ bool MemberSorter::operator()(User *u1, User *u2) const
n1.remove(0, 1);
if (n2[0] == '@')
n2.remove(0, 1);
- return n1 < n2;
+ return n1.localeAwareCompare(n2) < 0;
}