From 16825451c7ab5c6810aecebd5c09d6596418f145 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Sun, 7 Jun 2020 14:37:42 +0200 Subject: [PATCH] Fix nicklist grouping of users with the + prefix. The wrong comparison operator was used. Most likely a leftover from when the function used power levels directly. --- matrix/buffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/buffer.py b/matrix/buffer.py index 7a8b474..637bd4d 100644 --- a/matrix/buffer.py +++ b/matrix/buffer.py @@ -667,7 +667,7 @@ class WeechatChannelBuffer(object): group_name = "000|o" elif user.prefix == "@": group_name = "001|h" - elif user.prefix > "+": + elif user.prefix == "+": group_name = "002|v" return group_name