summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-display.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-07-19 10:17:17 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-07-19 10:17:17 +0000
commit220308e1fa35248180c0b36f39de2050d21c92c7 (patch)
treea06584955c216fa8a01dce4a22d9208feb772ff8 /src/gui/curses/gui-display.c
parent8166d1523548681e36cabd52eaf6a7981d8fb935 (diff)
downloadweechat-220308e1fa35248180c0b36f39de2050d21c92c7.zip
Fixed hotlist for privates: now quit message is displayed as part/join/quit, not standard message
Diffstat (limited to 'src/gui/curses/gui-display.c')
-rw-r--r--src/gui/curses/gui-display.c2
1 files changed, 1 insertions, 1 deletions
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);