From 9dfa0a478e77f18ce1d58ab4e8c1347f0d76935a Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 7 Dec 2017 12:06:38 -0800 Subject: [PATCH] classes: fix inverted order in get_prefix_modes() description No, no, no. Nobody sorts modes that way! --- classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes.py b/classes.py index bd27d41..77bb216 100644 --- a/classes.py +++ b/classes.py @@ -1729,7 +1729,7 @@ class Channel(structures.DeprecatedAttributesObject, structures.CamelCaseToSnake def get_prefix_modes(self, uid, prefixmodes=None): """ Returns a list of all named prefix modes the user has in the channel, in - increasing order from voice to owner. + decreasing order from owner to voice. Optionally, a prefixmodes argument can be given to look at an earlier state of the channel's prefix modes mapping, e.g. for checking the op status of a mode