diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-05-02 09:41:19 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-05-02 09:41:19 +0000 |
commit | 0abe6f03229d0815ff0778458f9032ad744a39aa (patch) | |
tree | 296354e75b846e850237e92b1ce35e828b71433c /src/gui/curses | |
parent | c74cf01b632efe94e5a4d5b7b1c2cbcaa251849e (diff) | |
download | weechat-0abe6f03229d0815ff0778458f9032ad744a39aa.zip |
Added channel admin mode '!' for some IRC servers
Diffstat (limited to 'src/gui/curses')
-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 eb01c6ac3..ca2585d96 100644 --- a/src/gui/curses/gui-curses-nicklist.c +++ b/src/gui/curses/gui-curses-nicklist.c @@ -193,6 +193,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_CHANADMIN2) + { + gui_window_set_weechat_color (GUI_CURSES(ptr_win)->win_nick, COLOR_WIN_NICK_CHANADMIN); + mvwprintw (GUI_CURSES(ptr_win)->win_nick, y, x, "!"); + x++; + } else if (ptr_nick->flags & NICK_OP) { gui_window_set_weechat_color (GUI_CURSES(ptr_win)->win_nick, COLOR_WIN_NICK_OP); |