summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-08-17 16:12:52 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-08-17 16:12:52 +0000
commit440214d098da2e581f4a60c70788e1f0beeb9b2b (patch)
treeed0c8a0194a14e73a8ece459955245d33f97daf7 /src/gui
parent17fdaf83d37e54dbdc09545bef36568dae5489ae (diff)
downloadweechat-440214d098da2e581f4a60c70788e1f0beeb9b2b.zip
Added send of "quit" message to server when using /disconnect
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/curses/gui-curses-status.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/curses/gui-curses-status.c b/src/gui/curses/gui-curses-status.c
index ad77dfcd9..76c477f7b 100644
--- a/src/gui/curses/gui-curses-status.c
+++ b/src/gui/curses/gui-curses-status.c
@@ -150,8 +150,7 @@ gui_status_draw (t_gui_buffer *buffer, int erase)
wprintw (GUI_CURSES(ptr_win)->win_status, ":");
gui_window_set_weechat_color (GUI_CURSES(ptr_win)->win_status,
COLOR_WIN_STATUS_CHANNEL);
- if (((CHANNEL(ptr_win->buffer)->type != CHANNEL_TYPE_PRIVATE)
- && (CHANNEL(ptr_win->buffer)->type != CHANNEL_TYPE_DCC_CHAT)
+ if (((CHANNEL(ptr_win->buffer)->type == CHANNEL_TYPE_CHANNEL)
&& (!CHANNEL(ptr_win->buffer)->nicks))
|| ((CHANNEL(ptr_win->buffer)->type == CHANNEL_TYPE_DCC_CHAT)
&& (CHANNEL(ptr_win->buffer)->dcc_chat)