mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Merge pull request #345 from LemonBoy/sasl-reconnect
Preserve the sasl_ options across reconnects.
This commit is contained in:
commit
0184b4c3bf
@ -48,6 +48,9 @@ static void sig_server_connect_copy(SERVER_CONNECT_REC **dest,
|
|||||||
rec->max_whois = src->max_whois;
|
rec->max_whois = src->max_whois;
|
||||||
rec->usermode = g_strdup(src->usermode);
|
rec->usermode = g_strdup(src->usermode);
|
||||||
rec->alternate_nick = g_strdup(src->alternate_nick);
|
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;
|
*dest = (SERVER_CONNECT_REC *) rec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user