1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Added code comments

This commit is contained in:
Jari Matilainen 2017-05-11 14:08:45 +02:00
parent f060292a9c
commit 783458e9ba

View File

@ -159,6 +159,8 @@ 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 */
rec->tls_verify = FALSE;
}