summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2015-10-28 21:56:35 +0100
committerLemonBoy <thatlemon@gmail.com>2015-10-28 21:56:35 +0100
commit8094e87cdf78bd864ffb37351ff4853cb127d8d1 (patch)
tree55cb45bc5ef6a979692d676c62087ff3a532c369 /src/irc
parent7ab38f29edb59941281723d7031d41d93fae06bd (diff)
downloadirssi-8094e87cdf78bd864ffb37351ff4853cb127d8d1.zip
Preserve the sasl_ options across reconnects.
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/core/irc-servers-reconnect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/irc/core/irc-servers-reconnect.c b/src/irc/core/irc-servers-reconnect.c
index b0aad26f..ca61492d 100644
--- a/src/irc/core/irc-servers-reconnect.c
+++ b/src/irc/core/irc-servers-reconnect.c
@@ -48,6 +48,9 @@ static void sig_server_connect_copy(SERVER_CONNECT_REC **dest,
rec->max_whois = src->max_whois;
rec->usermode = g_strdup(src->usermode);
rec->alternate_nick = g_strdup(src->alternate_nick);
+ rec->sasl_mechanism = src->sasl_mechanism;
+ rec->sasl_username = src->sasl_username;
+ rec->sasl_password = src->sasl_password;
*dest = (SERVER_CONNECT_REC *) rec;
}