1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Update fe-server.c

This commit is contained in:
ailin-nemui 2017-05-14 09:43:38 +02:00 committed by GitHub
parent 783458e9ba
commit 81cf8d8813

View File

@ -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;
} }