mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 22:36:38 +02:00
tests/relay: fix crash in tests on Alpine 3.18
This commit is contained in:
@@ -206,7 +206,7 @@ relay_irc_sendf (struct t_relay_client *client, const char *format, ...)
|
||||
const char *str_message, *ptr_msg1, *ptr_msg2;
|
||||
struct t_hashtable *hashtable_in, *hashtable_out;
|
||||
|
||||
if (!client)
|
||||
if (!client || !format)
|
||||
return;
|
||||
|
||||
weechat_va_format (format);
|
||||
|
||||
Reference in New Issue
Block a user