aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
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