diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-16 10:41:32 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-16 10:41:32 +0000 |
commit | 01bcf83b56af6e0eaf7f082184abc6e1c5318880 (patch) | |
tree | a853ffde1236e88174ed21175f2de0a5b3735132 /src/irc/core/irc-session.c | |
parent | 8be6e76c7884fb71b770eb88fc9c4d78b54319b2 (diff) | |
download | irssi-01bcf83b56af6e0eaf7f082184abc6e1c5318880.zip |
server->emode_known wasn't saved during /UPGRADE.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2473 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/irc-session.c')
-rw-r--r-- | src/irc/core/irc-session.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |