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/irc/irc-display.c | |
parent | c74cf01b632efe94e5a4d5b7b1c2cbcaa251849e (diff) | |
download | weechat-0abe6f03229d0815ff0778458f9032ad744a39aa.zip |
Added channel admin mode '!' for some IRC servers
Diffstat (limited to 'src/irc/irc-display.c')
-rw-r--r-- | src/irc/irc-display.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/irc/irc-display.c b/src/irc/irc-display.c index bb9288be3..bd20659e5 100644 --- a/src/irc/irc-display.c +++ b/src/irc/irc-display.c @@ -174,7 +174,7 @@ irc_display_nick (t_gui_buffer *buffer, t_irc_nick *nick, char *nickname, length += 2; if (nick && cfg_look_nickmode) { - if (nick->flags & (NICK_CHANOWNER | NICK_CHANADMIN | + if (nick->flags & (NICK_CHANOWNER | NICK_CHANADMIN | NICK_CHANADMIN2 | NICK_OP | NICK_HALFOP | NICK_VOICE)) length += 1; else if (cfg_look_nickmode_empty && !no_nickmode) @@ -220,6 +220,9 @@ irc_display_nick (t_gui_buffer *buffer, t_irc_nick *nick, char *nickname, else if (nick->flags & NICK_CHANADMIN) gui_printf_type (buffer, type, "%s&", GUI_COLOR(COLOR_WIN_NICK_OP)); + else if (nick->flags & NICK_CHANADMIN2) + gui_printf_type (buffer, type, "%s!", + GUI_COLOR(COLOR_WIN_NICK_OP)); else if (nick->flags & NICK_OP) gui_printf_type (buffer, type, "%s@", GUI_COLOR(COLOR_WIN_NICK_OP)); |