mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 13:56:37 +02:00
relay: fix crash after /upgrade when relay clients are connected
This commit is contained in:
@@ -1696,6 +1696,11 @@ relay_client_new_with_infolist (struct t_infolist *infolist)
|
||||
new_client->partial_ws_frame_size = ws_frame_size;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
new_client->partial_ws_frame = NULL;
|
||||
new_client->partial_ws_frame_size = 0;
|
||||
}
|
||||
str = weechat_infolist_string (infolist, "partial_message");
|
||||
new_client->partial_message = (str) ? strdup (str) : NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user