From 01bcf83b56af6e0eaf7f082184abc6e1c5318880 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 16 Feb 2002 10:41:32 +0000 Subject: server->emode_known wasn't saved during /UPGRADE. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2473 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-session.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/irc/core') diff --git a/src/irc/core/irc-session.c b/src/irc/core/irc-session.c index f73c86e1..3992171d 100644 --- a/src/irc/core/irc-session.c +++ b/src/irc/core/irc-session.c @@ -53,6 +53,7 @@ static void sig_session_save_server(IRC_SERVER_REC *server, CONFIG_REC *config, config_node_set_str(config, node, "usermode", server->usermode); config_node_set_bool(config, node, "usermode_away", server->usermode_away); config_node_set_str(config, node, "away_reason", server->away_reason); + config_node_set_bool(config, node, "emode_known", server->emode_known); } static void sig_session_restore_server(IRC_SERVER_REC *server, @@ -67,6 +68,7 @@ static void sig_session_restore_server(IRC_SERVER_REC *server, server->usermode = g_strdup(config_node_get_str(node, "usermode", NULL)); server->usermode_away = config_node_get_bool(node, "usermode_away", FALSE); server->away_reason = g_strdup(config_node_get_str(node, "away_reason", NULL)); + server->emode_known = config_node_get_bool(node, "emode_known", FALSE); } static void sig_session_restore_nick(IRC_CHANNEL_REC *channel, -- cgit v1.2.3