diff options
| author | 2018-10-04 04:46:32 +0100 | |
|---|---|---|
| committer | 2018-10-04 04:46:32 +0100 | |
| commit | 17caaa08dd92ec308ea72a4ac012585ad36a7b86 (patch) | |
| tree | 2509c711365c85a1d1b7addb014842db673e1147 | |
| parent | Typo in src/IRCChannel.py. 'del self.user_modes' -> 'del self.user_modes[user]' (diff) | |
| signature | ||
Actually use the sorted mode list in print_activity
| -rw-r--r-- | modules/print_activity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/print_activity.py b/modules/print_activity.py index cedb630d..aaa8fc7d 100644 --- a/modules/print_activity.py +++ b/modules/print_activity.py @@ -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) |
