aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2017-02-09 12:45:12 -0800
committerRyan Huber <rhuber@gmail.com>2017-02-09 12:45:12 -0800
commitf274fa72adb75a5462b6e8aa06e9f49680e26c37 (patch)
tree6bdb72b45b9bbf77bc2dc739472bbe108dd9b20d /wee_slack.py
parent1ca07764527724c859462e64f9db8232df27fe93 (diff)
downloadwee-slack-f274fa72adb75a5462b6e8aa06e9f49680e26c37.tar.gz
better
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 987c049..70e208c 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2442,8 +2442,8 @@ def command_topic(data, current_buffer, args):
return w.WEECHAT_RC_ERROR_EAT
@slack_buffer_or_ignore
-def me_command_cb(data, current_buffer, arg):
- message = "_{}_".format(arg)
+def me_command_cb(data, current_buffer, args):
+ message = "_{}_".format(args[1:])
buffer_input_callback("EVENTROUTER", current_buffer, message)
return w.WEECHAT_RC_OK