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,