mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Added braces
This commit is contained in:
parent
dbde9f0fe3
commit
f060292a9c
1 changed files with 2 additions and 1 deletions
|
|
@ -154,8 +154,9 @@ static void cmd_server_add_modify(const char *data, gboolean add)
|
|||
else if (g_hash_table_lookup(optlist, "4"))
|
||||
rec->family = AF_INET;
|
||||
|
||||
if (g_hash_table_lookup(optlist, "tls") || g_hash_table_lookup(optlist, "ssl"))
|
||||
if (g_hash_table_lookup(optlist, "tls") || g_hash_table_lookup(optlist, "ssl")) {
|
||||
rec->use_tls = TRUE;
|
||||
}
|
||||
else if (g_hash_table_lookup(optlist, "notls") || g_hash_table_lookup(optlist, "nossl")) {
|
||||
rec->use_tls = FALSE;
|
||||
rec->tls_verify = FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue