mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Make backward compatible with ssl flags
This commit is contained in:
parent
e84adeca15
commit
f28c64a3dc
1 changed files with 2 additions and 1 deletions
|
|
@ -124,7 +124,8 @@ static void cmd_server_add_modify(const char *data, gboolean add)
|
|||
port = atoi(portstr);
|
||||
else if (value != NULL && *value != '\0')
|
||||
port = atoi(value);
|
||||
else if (g_hash_table_lookup(optlist, "tls"))
|
||||
else if (g_hash_table_lookup(optlist, "tls") ||
|
||||
g_hash_table_lookup(optlist, "ssl"))
|
||||
port = DEFAULT_SERVER_ADD_TLS_PORT;
|
||||
else
|
||||
port = DEFAULT_SERVER_ADD_PORT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue