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

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

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

revision 1.67 by flashcode, Mon Jun 20 14:04:17 2005 UTC revision 1.68 by flashcode, Thu Jun 30 12:55:36 2005 UTC
# Line 1246  irc_cmd_recv_privmsg (t_irc_server *serv Line 1246  irc_cmd_recv_privmsg (t_irc_server *serv
1246                  else                  else
1247                  {                  {
1248                      ptr_nick = nick_search (ptr_channel, host);                      ptr_nick = nick_search (ptr_channel, host);
1249                      if (ptr_nick)                      if (strstr (pos, server->nick))
1250                      {                      {
1251                          if (strstr (pos, server->nick))                          irc_display_nick (ptr_channel->buffer, ptr_nick,
1252                          {                                            (ptr_nick) ? NULL : host,
1253                              irc_display_nick (ptr_channel->buffer, ptr_nick,                                            MSG_TYPE_NICK | MSG_TYPE_HIGHLIGHT,
1254                                                MSG_TYPE_NICK | MSG_TYPE_HIGHLIGHT,                                            1, -1, 0);
1255                                                1, -1, 0);                          if ( (cfg_look_infobar)
1256                              if ( (cfg_look_infobar)                               && (cfg_look_infobar_delay_highlight > 0)
1257                                  && (cfg_look_infobar_delay_highlight > 0)                               && (ptr_channel->buffer != gui_current_window->buffer) )
1258                                  && (ptr_channel->buffer != gui_current_window->buffer) )                              gui_infobar_printf (cfg_look_infobar_delay_highlight,
1259                                  gui_infobar_printf (cfg_look_infobar_delay_highlight,                                                  COLOR_WIN_INFOBAR_HIGHLIGHT,
1260                                                      COLOR_WIN_INFOBAR_HIGHLIGHT,                                                  _("On %s: %s> %s"),
1261                                                      _("On %s: %s> %s"),                                                  ptr_channel->name,
1262                                                      ptr_channel->name,                                                  host, pos);
                                                     host, pos);  
                         }  
                         else  
                             irc_display_nick (ptr_channel->buffer, ptr_nick,  
                                               MSG_TYPE_NICK, 1, 1, 0);  
                         gui_printf_type_color (ptr_channel->buffer,  
                                                MSG_TYPE_MSG,  
                                                COLOR_WIN_CHAT, "%s\n", pos);  
1263                      }                      }
1264                      else                      else
1265                      {                          irc_display_nick (ptr_channel->buffer, ptr_nick,
1266                          irc_display_prefix (server->buffer, PREFIX_ERROR);                                            (ptr_nick) ? NULL : host,
1267                          gui_printf_nolog (server->buffer,                                            MSG_TYPE_NICK, 1, 1, 0);
1268                                            _("%s nick \"%s\" not found for \"%s\" command (message: \"%s\")\n"),                      gui_printf_type_color (ptr_channel->buffer,
1269                                            WEECHAT_ERROR, host, "privmsg", pos);                                             MSG_TYPE_MSG,
1270                          return -1;                                             COLOR_WIN_CHAT, "%s\n", pos);
                     }  
1271                  }                  }
1272              }              }
1273              else              else
# Line 3336  irc_cmd_recv_366 (t_irc_server *server, Line 3327  irc_cmd_recv_366 (t_irc_server *server,
3327                                    
3328                  for (ptr_nick = ptr_channel->nicks; ptr_nick; ptr_nick = ptr_nick->next_nick)                  for (ptr_nick = ptr_channel->nicks; ptr_nick; ptr_nick = ptr_nick->next_nick)
3329                  {                  {
3330                      irc_display_nick (ptr_channel->buffer, ptr_nick,                      irc_display_nick (ptr_channel->buffer, ptr_nick, NULL,
3331                                        MSG_TYPE_MSG, 0, 0, 1);                                        MSG_TYPE_MSG, 0, 0, 1);
3332                      if (ptr_nick != ptr_channel->last_nick)                      if (ptr_nick != ptr_channel->last_nick)
3333                          gui_printf (ptr_channel->buffer, " ");                          gui_printf (ptr_channel->buffer, " ");

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

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