irc: fix color of new nick in nick changes messages when option irc.look.color_nicks_in_server_messages is off

This commit is contained in:
Sébastien Helleu 2015-04-25 20:38:03 +02:00
parent b5fbea7993
commit ccc6cdace1
2 changed files with 3 additions and 1 deletions

View File

@ -49,6 +49,8 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
config_option_reset, config_color, config_color_default, config_write,
config_read, config_reload, hook_command, buffer_string_replace_local_var,
command
* irc: fix color of new nick in nick changes messages when option
irc.look.color_nicks_in_server_messages is off
* irc: fix crash when setting an invalid regex with "/list -re" during a /list
server response (closes #412)
* irc: fix display of PART messages on channels with +a (anonymous flag)

View File

@ -1231,7 +1231,7 @@ IRC_PROTOCOL_CALLBACK(nick)
old_color : IRC_COLOR_CHAT_NICK,
nick,
IRC_COLOR_RESET,
irc_nick_color_for_msg (server, 0, ptr_nick,
irc_nick_color_for_msg (server, 1, ptr_nick,
new_nick),
new_nick,
IRC_COLOR_RESET);