aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 3ad2b6a..cf5ec1f 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2579,7 +2579,7 @@ def command_talk(data, current_buffer, args):
c = team.get_channel_map()
if channel_name.startswith('#'):
- channel_name = arg[1:]
+ channel_name = channel_name[1:]
if channel_name in c:
chan = team.channels[c[channel_name]]
chan.open()