From ec78674d4e4c4637a945a1f5f85269343e26f85d Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 9 Aug 2007 09:35:17 +0000 Subject: Added support of channel mode +u (channel user) (bug #20717) --- src/gui/curses/gui-curses-nicklist.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gui/curses/gui-curses-nicklist.c') diff --git a/src/gui/curses/gui-curses-nicklist.c b/src/gui/curses/gui-curses-nicklist.c index 028cb4671..71ff500d7 100644 --- a/src/gui/curses/gui-curses-nicklist.c +++ b/src/gui/curses/gui-curses-nicklist.c @@ -216,6 +216,12 @@ gui_nicklist_draw (t_gui_buffer *buffer, int erase, int calculate_size) mvwprintw (GUI_CURSES(ptr_win)->win_nick, y, x, "+"); x++; } + else if (ptr_nick->flags & NICK_CHANUSER) + { + gui_window_set_weechat_color (GUI_CURSES(ptr_win)->win_nick, COLOR_WIN_NICK_CHANUSER); + mvwprintw (GUI_CURSES(ptr_win)->win_nick, y, x, "-"); + x++; + } else { gui_window_set_weechat_color (GUI_CURSES(ptr_win)->win_nick, COLOR_WIN_NICK); -- cgit v1.2.3