aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2017-04-13 08:47:05 -0700
committerGitHub <noreply@github.com>2017-04-13 08:47:05 -0700
commit49675a01e341e1b3f278cb9589e677c8b35dfc83 (patch)
treeb505cdaf38ec46a98b95f0076defdbe38d3fadbb
parenta5038b342c06138cefaa958702a094f491a52564 (diff)
parent70ffb7019cdd67d18e974e782720bd00c915c9ab (diff)
downloadwee-slack-49675a01e341e1b3f278cb9589e677c8b35dfc83.tar.gz
Merge pull request #340 from wee-slack/fix_join
🤳
-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()