aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2017-02-09 12:47:30 -0800
committerRyan Huber <rhuber@gmail.com>2017-02-09 12:47:30 -0800
commitccff5c673b20693e74ec669091f1b84bff060c81 (patch)
treed96190f2ece6985d798ee148882c4d49e49a22a5
parentf274fa72adb75a5462b6e8aa06e9f49680e26c37 (diff)
downloadwee-slack-ccff5c673b20693e74ec669091f1b84bff060c81.tar.gz
another EAT needed
-rw-r--r--wee_slack.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 70e208c..14b1a4e 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2443,9 +2443,9 @@ def command_topic(data, current_buffer, args):
@slack_buffer_or_ignore
def me_command_cb(data, current_buffer, args):
- message = "_{}_".format(args[1:])
+ message = "_{}_".format(args)
buffer_input_callback("EVENTROUTER", current_buffer, message)
- return w.WEECHAT_RC_OK
+ return w.WEECHAT_RC_OK_EAT
@slack_buffer_or_ignore
def msg_command_cb(data, current_buffer, args):