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.
This commit is contained in:
Denis Kasak 2020-06-07 14:37:42 +02:00
parent 397acef2bd
commit 16825451c7

View file

@ -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