diff options
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py index 8bcad88..7c59e7b 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -3736,8 +3736,8 @@ def command_channels(data, current_buffer, args): team = EVENTROUTER.weechat_controller.buffers[current_buffer].team team.buffer_prnt("Channels:") - for channel in team.get_channel_map(): - team.buffer_prnt(" {}".format(channel)) + for channel in team.channels.values(): + team.buffer_prnt(" {}".format(channel.name)) return w.WEECHAT_RC_OK_EAT |