/[weechat]/weechat/src/irc/irc-display.c
ViewVC logotype

Diff of /weechat/src/irc/irc-display.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25 by flashcode, Tue Nov 29 21:44:50 2005 UTC revision 1.26 by flashcode, Tue Dec 6 18:20:59 2005 UTC
# Line 97  irc_display_nick (t_gui_buffer *buffer, Line 97  irc_display_nick (t_gui_buffer *buffer,
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

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26