mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
actually use the tls settings on upgrade, and disconnect gracefully
This commit is contained in:
parent
db2fed0d38
commit
f2795abcc5
11 changed files with 117 additions and 30 deletions
|
|
@ -338,7 +338,14 @@ SERVER_CONNECT_REC *server_create_conn_opt(int chat_type, const char *dest, int
|
|||
SERVER_CONNECT_REC *server_create_conn(int chat_type, const char *dest, int port,
|
||||
const char *chatnet, const char *password, const char *nick)
|
||||
{
|
||||
return server_create_conn_opt(chat_type, dest, port, chatnet, password, nick, NULL);
|
||||
SERVER_CONNECT_REC *ret;
|
||||
GHashTable *opt;
|
||||
|
||||
opt = g_hash_table_new(NULL, NULL);
|
||||
ret = server_create_conn_opt(chat_type, dest, port, chatnet, password, nick, opt);
|
||||
g_hash_table_destroy(opt);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Find matching server from setup. Try to find record with a same port,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue