mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Make backward compatible with ssl flags
This commit is contained in:
parent
e84adeca15
commit
f28c64a3dc
@ -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…
Reference in New Issue
Block a user