diff options
author | Jari Matilainen <jari.matilainen@istone.se> | 2017-06-04 19:47:30 +0200 |
---|---|---|
committer | Jari Matilainen <jari.matilainen@istone.se> | 2017-06-04 19:47:30 +0200 |
commit | f28c64a3dc1e66f9d1e49650d5b2ab15795b9e53 (patch) | |
tree | 73d17a0d56162e5bb5097a74ad2c061dab2174cf /src | |
parent | e84adeca15084a82c04ff6c3b5c7b8941c297322 (diff) | |
download | irssi-f28c64a3dc1e66f9d1e49650d5b2ab15795b9e53.zip |
Make backward compatible with ssl flags
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/fe-server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-server.c b/src/fe-common/core/fe-server.c index 6e373139..75f857c2 100644 --- a/src/fe-common/core/fe-server.c +++ b/src/fe-common/core/fe-server.c @@ -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; |