summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2005-04-26 11:51:40 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2005-04-26 11:51:40 +0000
commite4c55c9d1f7891490ea80b6ff9a49b7baf11606f (patch)
tree885ac9e9def0c9a6b159cdea69de8f8bc4e51924 /src/irc
parent57d78e276f1651bb328816dce1d1d3593cc6a9c3 (diff)
downloadirssi-e4c55c9d1f7891490ea80b6ff9a49b7baf11606f.zip
Remember alternate_nick and max_whois on reconnect (Bug 181)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3727 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/core/irc-servers-reconnect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irc/core/irc-servers-reconnect.c b/src/irc/core/irc-servers-reconnect.c
index 7e66b255..beb821f6 100644
--- a/src/irc/core/irc-servers-reconnect.c
+++ b/src/irc/core/irc-servers-reconnect.c
@@ -45,7 +45,9 @@ static void sig_server_connect_copy(SERVER_CONNECT_REC **dest,
rec->max_kicks = src->max_kicks;
rec->max_modes = src->max_modes;
rec->max_msgs = src->max_msgs;
+ rec->max_whois = src->max_whois;
rec->usermode = g_strdup(src->usermode);
+ rec->alternate_nick = g_strdup(src->alternate_nick);
*dest = (SERVER_CONNECT_REC *) rec;
}