mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
changes suggested by ahf
This commit is contained in:
parent
51508ff1d3
commit
9668217509
7 changed files with 36 additions and 29 deletions
|
|
@ -45,7 +45,7 @@ static void sig_server_setup_fill_reconn(IRC_SERVER_CONNECT_REC *conn,
|
|||
if (sserver->max_query_chans > 0)
|
||||
conn->max_query_chans = sserver->max_query_chans;
|
||||
if (sserver->starttls == 0)
|
||||
conn->no_starttls = 1;
|
||||
conn->disallow_starttls = 1;
|
||||
else if (sserver->starttls == 1)
|
||||
conn->starttls = 1;
|
||||
}
|
||||
|
|
@ -67,8 +67,8 @@ static void sig_server_setup_fill_connect(IRC_SERVER_CONNECT_REC *conn, GHashTab
|
|||
|
||||
if (g_hash_table_lookup(optlist, "starttls") != NULL)
|
||||
conn->starttls = 1;
|
||||
else if (g_hash_table_lookup(optlist, "nostarttls") != NULL)
|
||||
conn->no_starttls = 1;
|
||||
else if (g_hash_table_lookup(optlist, "disallow_starttls") != NULL)
|
||||
conn->disallow_starttls = 1;
|
||||
}
|
||||
|
||||
static void sig_server_setup_fill_chatnet(IRC_SERVER_CONNECT_REC *conn,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue