diff options
| author | 2018-12-26 23:22:12 +0000 | |
|---|---|---|
| committer | 2018-12-26 23:22:12 +0000 | |
| commit | e5600a69273620b57dcead530a0173a356128c08 (patch) | |
| tree | 377ce68eb9617cbb20974bbd353a2db9fd3487e5 /modules/stats.py | |
| parent | Typo, '==' -> '=' (diff) | |
| signature | ||
Sort user nicknames on /api/server (stats.py)
Diffstat (limited to 'modules/stats.py')
| -rw-r--r-- | modules/stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/stats.py b/modules/stats.py index 32ad3bee..6a971435 100644 --- a/modules/stats.py +++ b/modules/stats.py @@ -83,7 +83,7 @@ class Module(ModuleManager.BaseModule): def _channel_stats(self, channel): return { - "users": [user.nickname for user in channel.users], + "users": sorted([user.nickname for user in channel.users]), "topic": channel.topic, "topic-set-at": channel.topic_time, "topic-set-by": channel.topic_setter_nickname |
