mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +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);
|
port = atoi(portstr);
|
||||||
else if (value != NULL && *value != '\0')
|
else if (value != NULL && *value != '\0')
|
||||||
port = atoi(value);
|
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;
|
port = DEFAULT_SERVER_ADD_TLS_PORT;
|
||||||
else
|
else
|
||||||
port = DEFAULT_SERVER_ADD_PORT;
|
port = DEFAULT_SERVER_ADD_PORT;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue