1
0
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:
Sébastien Helleu
2022-07-21 11:10:29 +02:00
parent 96ed471261
commit 569c93c6fb
3 changed files with 18 additions and 10 deletions
+1 -1
View File
@@ -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 (