summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-08-26 22:53:55 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-08-26 22:53:55 +0000
commit1c33e3e8967ac96f03709605a24f46f45efb57e9 (patch)
tree3dd4522bb202283b9ca282c238e578b9101a0599 /src
parentab8e46f19ddda192ea611a76c91583feb2f3d657 (diff)
downloadirssi-1c33e3e8967ac96f03709605a24f46f45efb57e9.zip
/SERVER -ssl option was lost while reconnecting if server existed in /SERVER
LIST without SSL. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2894 dbcabf3a-b0e7-0310-adc4-f8d773084564
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);