From 220308e1fa35248180c0b36f39de2050d21c92c7 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 19 Jul 2005 10:17:17 +0000 Subject: Fixed hotlist for privates: now quit message is displayed as part/join/quit, not standard message --- src/gui/curses/gui-display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/curses/gui-display.c') diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c index dbe3b4fef..b970c3071 100644 --- a/src/gui/curses/gui-display.c +++ b/src/gui/curses/gui-display.c @@ -2531,7 +2531,7 @@ gui_add_message (t_gui_buffer *buffer, int type, int color, char *message) { if (buffer->last_line->line_with_highlight) hotlist_add (HOTLIST_HIGHLIGHT, buffer); - else if (BUFFER_IS_PRIVATE(buffer)) + else if (BUFFER_IS_PRIVATE(buffer) && (buffer->last_line->line_with_message)) hotlist_add (HOTLIST_PRIVATE, buffer); else if (buffer->last_line->line_with_message) hotlist_add (HOTLIST_MSG, buffer); -- cgit v1.2.3