/[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.10 by flashcode, Sat Feb 12 21:21:54 2005 UTC revision 1.11 by flashcode, Tue Feb 15 20:03:36 2005 UTC
# Line 73  irc_display_nick (t_gui_buffer *buffer, Line 73  irc_display_nick (t_gui_buffer *buffer,
73                                 message_type, COLOR_WIN_CHAT_DARK, "<");                                 message_type, COLOR_WIN_CHAT_DARK, "<");
74      if (cfg_look_nickmode)      if (cfg_look_nickmode)
75      {      {
76          if (nick->is_op)          if (nick->is_chanowner)
77                gui_printf_color_type (buffer,
78                                       message_type,
79                                       COLOR_WIN_NICK_OP, "~");
80            else if (nick->is_chanadmin)
81                gui_printf_color_type (buffer,
82                                       message_type,
83                                       COLOR_WIN_NICK_OP, "&");
84            else if (nick->is_op)
85              gui_printf_color_type (buffer,              gui_printf_color_type (buffer,
86                                     message_type,                                     message_type,
87                                     COLOR_WIN_NICK_OP, "@");                                     COLOR_WIN_NICK_OP, "@");
88            else if (nick->is_halfop)
89                gui_printf_color_type (buffer,
90                                       message_type,
91                                       COLOR_WIN_NICK_HALFOP, "%%");
92            else if (nick->has_voice)
93                gui_printf_color_type (buffer,
94                                       message_type,
95                                       COLOR_WIN_NICK_VOICE, "+");
96          else          else
97          {              if (cfg_look_nickmode_empty && !no_nickmode)
             if (nick->is_halfop)  
98                  gui_printf_color_type (buffer,                  gui_printf_color_type (buffer,
99                                         message_type,                                         message_type,
100                                         COLOR_WIN_NICK_HALFOP, "%%");                                         COLOR_WIN_CHAT, " ");
             else  
             {  
                 if (nick->has_voice)  
                     gui_printf_color_type (buffer,  
                                            message_type,  
                                            COLOR_WIN_NICK_VOICE, "+");  
                 else  
                     if (cfg_look_nickmode_empty && !no_nickmode)  
                         gui_printf_color_type (buffer,  
                                                message_type,  
                                                COLOR_WIN_CHAT, " ");  
             }  
         }  
101      }      }
102      if (color_nick < 0)      if (color_nick < 0)
103          gui_printf_color_type (buffer,          gui_printf_color_type (buffer,

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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