summaryrefslogtreecommitdiff
path: root/src/gui/curses
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-05-02 09:41:19 +0000
committerSebastien Helleu <flashcode@flashtux.org>2007-05-02 09:41:19 +0000
commit0abe6f03229d0815ff0778458f9032ad744a39aa (patch)
tree296354e75b846e850237e92b1ce35e828b71433c /src/gui/curses
parentc74cf01b632efe94e5a4d5b7b1c2cbcaa251849e (diff)
downloadweechat-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.c6
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);