aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2017-04-13 15:45:57 +0000
committerRyan Huber <rhuber@gmail.com>2017-04-13 15:45:57 +0000
commit70ffb7019cdd67d18e974e782720bd00c915c9ab (patch)
treeb505cdaf38ec46a98b95f0076defdbe38d3fadbb /wee_slack.py
parenta5038b342c06138cefaa958702a094f491a52564 (diff)
downloadwee-slack-70ffb7019cdd67d18e974e782720bd00c915c9ab.tar.gz
wrong var name
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()