mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Update fe-server.c
This commit is contained in:
parent
783458e9ba
commit
81cf8d8813
@ -159,8 +159,7 @@ static void cmd_server_add_modify(const char *data, gboolean add)
|
|||||||
}
|
}
|
||||||
else if (g_hash_table_lookup(optlist, "notls") || g_hash_table_lookup(optlist, "nossl")) {
|
else if (g_hash_table_lookup(optlist, "notls") || g_hash_table_lookup(optlist, "nossl")) {
|
||||||
rec->use_tls = FALSE;
|
rec->use_tls = FALSE;
|
||||||
/* if rec has tls_verify = TRUE then use_tls will be set to true on lines 224-225
|
/* tls_verify implies use_tls, disable it explicitly */
|
||||||
so explicitly set tls_verify to FALSE when -notls is used */
|
|
||||||
rec->tls_verify = FALSE;
|
rec->tls_verify = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user