summaryrefslogtreecommitdiff
path: root/src/irc/irc-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/irc-display.c')
-rw-r--r--src/irc/irc-display.c5
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));