1
0
mirror of https://github.com/irssi/irssi.git synced 2024-08-04 03:34:18 -04: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")) {
rec->use_tls = FALSE;
/* if rec has tls_verify = TRUE then use_tls will be set to true on lines 224-225
so explicitly set tls_verify to FALSE when -notls is used */
/* tls_verify implies use_tls, disable it explicitly */
rec->tls_verify = FALSE;
}