diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2018-11-04 23:37:00 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2018-11-04 23:37:00 +0100 |
commit | 04890f3a4b52243f880cd8728c1e95415a2cddf9 (patch) | |
tree | af2246f1751ee2e4f910811950b9d37d9b488d1e /.flake8 | |
parent | 1a7f5499648bcfaac24f1cbba2748ae59146a4af (diff) | |
download | wee-slack-04890f3a4b52243f880cd8728c1e95415a2cddf9.tar.gz |
Use buffer from arguments instead of w.current_buffer
The buffer given in the arguments refers to the buffer where the command
was run, while w.current_buffer refers to the buffer active in weechat.
Normally these are the same, but relay clients may have a different
buffer active than the one in weechat. Therefore, using w.current_buffer
could cause commands sent from those clients to operate on the wrong
buffer.
Fixes #547 and #615
Diffstat (limited to '.flake8')
0 files changed, 0 insertions, 0 deletions