summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/servers-setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c
index 8ccfcc27..6bdafb80 100644
--- a/src/core/servers-setup.c
+++ b/src/core/servers-setup.c
@@ -108,8 +108,6 @@ void server_setup_fill_reconn(SERVER_CONNECT_REC *conn,
if (sserver->password != NULL && conn->password == NULL)
conn->password = g_strdup(sserver->password);
- conn->use_ssl = sserver->use_ssl;
-
signal_emit("server setup fill reconn", 2, conn, sserver);
}
@@ -165,6 +163,8 @@ static void server_setup_fill_server(SERVER_CONNECT_REC *conn,
conn->family = sserver->family;
if (sserver->port > 0 && conn->port <= 0)
conn->port = sserver->port;
+ conn->use_ssl = sserver->use_ssl;
+
server_setup_fill_reconn(conn, sserver);
signal_emit("server setup fill server", 2, conn, sserver);