diff options
| author | 2018-11-27 13:34:51 +0000 | |
|---|---|---|
| committer | 2018-11-27 13:34:51 +0000 | |
| commit | 00d4b9c73f9adba32905502adc5a1340e1b8c1e0 (patch) | |
| tree | 37d0a08162185d523011369a98e35bf459eec557 /modules | |
| parent | Make channel stats in /api/servers a dictionary (diff) | |
| signature | ||
Show list of users in a channel, not just count
Diffstat (limited to 'modules')
| -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 a5e8bea9..32ad3bee 100644 --- a/modules/stats.py +++ b/modules/stats.py @@ -83,7 +83,7 @@ class Module(ModuleManager.BaseModule): def _channel_stats(self, channel): return { - "users": len(channel.users), + "users": [user.nickname for user in channel.users], "topic": channel.topic, "topic-set-at": channel.topic_time, "topic-set-by": channel.topic_setter_nickname |
