1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

server->emode_known wasn't saved during /UPGRADE.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2473 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-02-16 10:41:32 +00:00 committed by cras
parent 8be6e76c78
commit 01bcf83b56

View File

@ -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,