aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-06-23 01:35:38 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2023-06-23 01:46:37 +0200
commit1d1634b95ac3d29d3e44820f01bc789944366147 (patch)
treefb24e9740fdc540ca1937aea4461cbec85d3d185 /_pytest
parent7310fe88d6fbf94d1bda7c10f24fa9e396d80311 (diff)
downloadwee-slack-1d1634b95ac3d29d3e44820f01bc789944366147.tar.gz
Return from modify_buffer_line if the line isn't found
If the line isn't found, line_pointer becomes an empty string which will crash WeeChat when it's used with hdata_update. This happened when the history for a channel that contained a reply also posted to the channel was loaded, because in that case wee-slack tries to modify the parent message before the channel history is printed, so it couldn't find the line.
Diffstat (limited to '_pytest')
0 files changed, 0 insertions, 0 deletions