diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2019-06-12 00:52:56 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2019-08-24 19:33:30 +0200 |
commit | 46c22cebf49ae1ef158e1fa84d00c5542c7fb1b2 (patch) | |
tree | 1acc916ab69daef71a6b5c4fb05cf2da30f6b770 | |
parent | 42850c14a7108547323ca393a1f7ab2195efa8ed (diff) | |
download | wee-slack-46c22cebf49ae1ef158e1fa84d00c5542c7fb1b2.tar.gz |
Support nicks prefixed with @ in /msg command
-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 ceb9adf..8bcad88 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -3710,7 +3710,7 @@ def register_callback(data, command, return_code, out, err): @utf8_decode def msg_command_cb(data, current_buffer, args): aargs = args.split(None, 2) - who = aargs[1] + who = aargs[1].lstrip('@') if who == "*": who = EVENTROUTER.weechat_controller.buffers[current_buffer].slack_name else: |