97 |
(nick) ? "<" : ">"); |
(nick) ? "<" : ">"); |
98 |
if (nick && cfg_look_nickmode) |
if (nick && cfg_look_nickmode) |
99 |
{ |
{ |
100 |
if (nick->is_chanowner) |
if (nick->flags & NICK_CHANOWNER) |
101 |
gui_printf_type (buffer, type, "%s~", |
gui_printf_type (buffer, type, "%s~", |
102 |
GUI_COLOR(COLOR_WIN_NICK_OP)); |
GUI_COLOR(COLOR_WIN_NICK_OP)); |
103 |
else if (nick->is_chanadmin) |
else if (nick->flags & NICK_CHANADMIN) |
104 |
gui_printf_type (buffer, type, "%s&", |
gui_printf_type (buffer, type, "%s&", |
105 |
GUI_COLOR(COLOR_WIN_NICK_OP)); |
GUI_COLOR(COLOR_WIN_NICK_OP)); |
106 |
else if (nick->is_op) |
else if (nick->flags & NICK_OP) |
107 |
gui_printf_type (buffer, type, "%s@", |
gui_printf_type (buffer, type, "%s@", |
108 |
GUI_COLOR(COLOR_WIN_NICK_OP)); |
GUI_COLOR(COLOR_WIN_NICK_OP)); |
109 |
else if (nick->is_halfop) |
else if (nick->flags & NICK_HALFOP) |
110 |
gui_printf_type (buffer, type, "%s%%", |
gui_printf_type (buffer, type, "%s%%", |
111 |
GUI_COLOR(COLOR_WIN_NICK_HALFOP)); |
GUI_COLOR(COLOR_WIN_NICK_HALFOP)); |
112 |
else if (nick->has_voice) |
else if (nick->flags & NICK_VOICE) |
113 |
gui_printf_type (buffer, type, "%s+", |
gui_printf_type (buffer, type, "%s+", |
114 |
GUI_COLOR(COLOR_WIN_NICK_VOICE)); |
GUI_COLOR(COLOR_WIN_NICK_VOICE)); |
115 |
else |
else |