1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 02:33:12 +02:00

irc: don't return pointer to irc server if the channel or nick is not found in info "irc_buffer"

This commit is contained in:
Sébastien Helleu
2024-06-02 22:49:41 +02:00
parent 4d0378d579
commit f104b4119a
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -31,6 +31,7 @@
### Fixed
- irc: don't return pointer to irc server if the channel or nick is not found in info "irc_buffer"
- irc: close /list buffer when the server buffer is closed ([#2121](https://github.com/weechat/weechat/issues/2121))
- xfer: fix send of data on the DCC chat buffer after `/upgrade` if the buffer was opened before the upgrade ([#2092](https://github.com/weechat/weechat/issues/2092))
- php: fix return value of function hdata_longlong
+4
View File
@@ -298,7 +298,11 @@ irc_info_info_irc_buffer_cb (const void *pointer, void *data,
/* search for server or channel buffer */
if (server && ptr_server && channel)
{
ptr_channel = irc_channel_search (ptr_server, channel);
if (!ptr_channel)
ptr_server = NULL;
}
free (server);
free (channel);