diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-04-03 16:01:10 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-04-03 16:01:10 +0000 |
commit | 5068f4d3657060316954a1c6564f710c4aed70fc (patch) | |
tree | 3ce04f0f144d45895a93de83e695f42d72fcef8a /src/irc/irc-recv.c | |
parent | 212ec7a76dbc408abec8af508e8ba55a02129b12 (diff) | |
download | weechat-5068f4d3657060316954a1c6564f710c4aed70fc.zip |
Added nick alignment in DCC chat, /query and /msg, fixed DCC chat bug when closing buffer
Diffstat (limited to 'src/irc/irc-recv.c')
-rw-r--r-- | src/irc/irc-recv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c index d0690564b..5c24a4732 100644 --- a/src/irc/irc-recv.c +++ b/src/irc/irc-recv.c @@ -2356,14 +2356,10 @@ irc_cmd_recv_privmsg (t_irc_server *server, char *host, char *nick, char *argume ptr_channel->topic = strdup (host2); if (irc_is_highlight (pos, server->nick)) + { irc_display_nick (ptr_channel->buffer, NULL, nick, MSG_TYPE_NICK | MSG_TYPE_HIGHLIGHT, 1, COLOR_WIN_CHAT_HIGHLIGHT, 0); - else - irc_display_nick (ptr_channel->buffer, NULL, nick, - MSG_TYPE_NICK, 1, -1, 0); - if (irc_is_highlight (pos, server->nick)) - { if ((cfg_look_infobar_delay_highlight > 0) && (ptr_channel->buffer != gui_current_window->buffer)) gui_infobar_printf_from_buffer (ptr_channel->buffer, @@ -2374,7 +2370,11 @@ irc_cmd_recv_privmsg (t_irc_server *server, char *host, char *nick, char *argume highlight = 1; } else + { + irc_display_nick (ptr_channel->buffer, NULL, nick, + MSG_TYPE_NICK, 1, COLOR_WIN_NICK_PRIVATE, 0); highlight = 0; + } gui_printf_type (ptr_channel->buffer, MSG_TYPE_MSG, "%s%s\n", GUI_COLOR(COLOR_WIN_CHAT), |