summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-04-12 09:10:57 +0200
committerSebastien Helleu <flashcode@flashtux.org>2013-04-12 09:10:57 +0200
commitfe6cb5c1b3abb11a4c576f62256c2979c764e7bc (patch)
tree99bd73f6ca13da95500260571f0aeaf812665cfa
parent67f6668d1b508b09feab596bf08de5dd7e2ea218 (diff)
downloadweechat-fe6cb5c1b3abb11a4c576f62256c2979c764e7bc.zip
core: do not force weechat_quit to 0 in main loop, so that a /quit issued before main loop is working
-rw-r--r--src/gui/curses/gui-curses-main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c
index 22f224117..88a4a1e6f 100644
--- a/src/gui/curses/gui-curses-main.c
+++ b/src/gui/curses/gui-curses-main.c
@@ -326,8 +326,6 @@ gui_main_loop ()
int max_fd;
int ready;
- weechat_quit = 0;
-
/* catch SIGTERM signal: quit program */
util_catch_signal (SIGTERM, &gui_main_signal_sigterm);
util_catch_signal (SIGQUIT, &gui_main_signal_sigquit);