irc: fix crash when setting an invalid regex with "/list -re" during a /list server response (closes #412)
This commit is contained in:
parent
6c4c4a37fd
commit
4695b26a57
@ -48,6 +48,8 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
config_option_reset, config_color, config_color_default, config_write,
|
||||
config_read, config_reload, hook_command, buffer_string_replace_local_var,
|
||||
command
|
||||
* irc: fix crash when setting an invalid regex with "/list -re" during a /list
|
||||
server response (closes #412)
|
||||
* irc: fix display of PART messages on channels with +a (anonymous flag)
|
||||
(closes #396)
|
||||
* irc: remove useless rename of channel buffer on JOIN received with different
|
||||
|
@ -2722,6 +2722,8 @@ irc_command_list (void *data, struct t_gui_buffer *buffer, int argc,
|
||||
"(%s)"),
|
||||
weechat_prefix ("error"), IRC_PLUGIN_NAME,
|
||||
argv_eol[1], buf);
|
||||
free (ptr_server->cmd_list_regexp);
|
||||
ptr_server->cmd_list_regexp = NULL;
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user