mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
relay: fix description of relay clients after /upgrade
This commit is contained in:
@@ -1589,7 +1589,8 @@ relay_client_new_with_infolist (struct t_infolist *infolist)
|
||||
if (new_client)
|
||||
{
|
||||
new_client->id = weechat_infolist_integer (infolist, "id");
|
||||
new_client->desc = NULL;
|
||||
str = weechat_infolist_string (infolist, "desc");
|
||||
new_client->desc = (str) ? strdup (str) : NULL;
|
||||
new_client->sock = weechat_infolist_integer (infolist, "sock");
|
||||
new_client->server_port = weechat_infolist_integer (infolist, "server_port");
|
||||
/* "tls" replaces "ssl" in WeeChat 4.0.0 */
|
||||
|
||||
Reference in New Issue
Block a user