diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-08-09 09:35:17 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-08-09 09:35:17 +0000 |
commit | ec78674d4e4c4637a945a1f5f85269343e26f85d (patch) | |
tree | 6bcc9f76399aa42bc8c6c1e05d3fcd156847af84 /src/gui/curses/gui-curses-nicklist.c | |
parent | c246d44762369cf4738b626e24d521e245cee5c0 (diff) | |
download | weechat-ec78674d4e4c4637a945a1f5f85269343e26f85d.zip |
Added support of channel mode +u (channel user) (bug #20717)
Diffstat (limited to 'src/gui/curses/gui-curses-nicklist.c')
-rw-r--r-- | src/gui/curses/gui-curses-nicklist.c | 6 |
1 files changed, 6 insertions, 0 deletions
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); |