3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 11:42:51 +01:00

classes: fix inverted order in get_prefix_modes() description

No, no, no. Nobody sorts modes that way!
This commit is contained in:
James Lu 2017-12-07 12:06:38 -08:00
parent d54bf0d06c
commit 9dfa0a478e

View File

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