mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 06:46:38 +02:00
irc: fix display of QUIT message with an empty trailing parameter (closes #1797)
The regression was introduced with the new way to parse IRC message parameters, in version 3.4.
This commit is contained in:
@@ -2939,7 +2939,7 @@ IRC_PROTOCOL_CALLBACK(quit)
|
||||
ptr_channel->has_quit_server = 1;
|
||||
}
|
||||
display_host = weechat_config_boolean (irc_config_look_display_host_quit);
|
||||
if (str_quit_msg)
|
||||
if (str_quit_msg && str_quit_msg[0])
|
||||
{
|
||||
weechat_printf_date_tags (
|
||||
irc_msgbuffer_get_target_buffer (
|
||||
|
||||
Reference in New Issue
Block a user