summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/irssi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c
index 39ae0ec6..6a7ae2c0 100644
--- a/src/fe-text/irssi.c
+++ b/src/fe-text/irssi.c
@@ -26,6 +26,7 @@
#include "levels.h"
#include "core.h"
#include "settings.h"
+#include "session.h"
#include "printtext.h"
#include "fe-common-core.h"
@@ -140,7 +141,6 @@ static void textui_init(void)
theme_register(gui_text_formats);
signal_add("gui exit", (SIGNAL_FUNC) sig_exit);
- signal_add("session clean", (SIGNAL_FUNC) term_deinit);
}
static void textui_finish_init(void)
@@ -197,7 +197,6 @@ static void textui_deinit(void)
dirty_check(); /* one last time to print any quit messages */
signal_remove("gui exit", (SIGNAL_FUNC) sig_exit);
- signal_remove("session clean", (SIGNAL_FUNC) term_deinit);
lastlog_deinit();
statusbar_deinit();
@@ -324,5 +323,6 @@ int main(int argc, char **argv)
g_main_destroy(main_loop);
textui_deinit();
+ session_upgrade(); /* if we /UPGRADEd, start the new process */
return 0;
}