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:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user