Actually use the sorted mode list in print_activity
This commit is contained in:
parent
934ee7bf8e
commit
17caaa08dd
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class Module(ModuleManager.BaseModule):
|
|||
symbols = []
|
||||
modes = list(channel.get_user_status(user))
|
||||
modes.sort(key=lambda x: list(server.prefix_modes.keys()).index(x))
|
||||
for mode in channel.get_user_status(user):
|
||||
for mode in modes:
|
||||
symbols.append(server.prefix_modes[mode])
|
||||
return "".join(symbols)
|
||||
|
||||
|
|
Loading…
Reference in a new issue