From f458097ff53e6e34bf6b47f62687c7ee55ed95a4 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Wed, 14 Mar 2018 17:32:08 +0100 Subject: Fix /msg user message `command_talk` wants a string it can pick apart. Pass that in from `msg_command_cb`. Fixes: #530 --- wee_slack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wee_slack.py b/wee_slack.py index d0b4cea..14d56f0 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -3121,7 +3121,7 @@ def msg_command_cb(data, current_buffer, args): if who == "*": who = EVENTROUTER.weechat_controller.buffers[current_buffer].slack_name else: - command_talk(data, current_buffer, who) + command_talk(data, current_buffer, "talk " + who) if len(aargs) > 2: message = aargs[2] -- cgit