diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | src/plugins/irc/irc-buffer.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c99a0720..cd9de77d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ ### Fixed +- irc: close /list buffer when the server buffer is closed ([#2121](https://github.com/weechat/weechat/issues/2121)) - php: fix return value of function hdata_longlong - tcl: fix return value of function hdata_longlong ([#2119](https://github.com/weechat/weechat/issues/2119)) - core, relay: fix include directory of libcjson and libzstd diff --git a/src/plugins/irc/irc-buffer.c b/src/plugins/irc/irc-buffer.c index 5f8f4a561..b957c4f17 100644 --- a/src/plugins/irc/irc-buffer.c +++ b/src/plugins/irc/irc-buffer.c @@ -244,6 +244,10 @@ irc_buffer_close_cb (const void *pointer, void *data, */ irc_buffer_close_server_channels (ptr_server); + /* close list buffer */ + if (ptr_server->list->buffer) + weechat_buffer_close (ptr_server->list->buffer); + ptr_server->buffer = NULL; } else if (ptr_server && (ptr_server->list->buffer == buffer)) |