diff options
author | Tollef Fog Heen <tfheen@err.no> | 2018-03-14 17:32:08 +0100 |
---|---|---|
committer | Tollef Fog Heen <tfheen@err.no> | 2018-03-14 17:34:02 +0100 |
commit | f458097ff53e6e34bf6b47f62687c7ee55ed95a4 (patch) | |
tree | 2380284fc48831490f8884eb00ed86dc46083f0a | |
parent | 826c46be02e471433a1712edc29bbfc4355d4c08 (diff) | |
download | wee-slack-f458097ff53e6e34bf6b47f62687c7ee55ed95a4.tar.gz |
Fix /msg user message
`command_talk` wants a string it can pick apart. Pass that in from
`msg_command_cb`.
Fixes: #530
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 1 insertions, 1 deletions
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] |