summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-04-25 20:38:03 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-04-25 20:38:03 +0200
commitccc6cdace144eebfc1459cf5722689e35374c859 (patch)
treec54183675e77f7d6fc6cd0a7132d74b9999e4a07
parentb5fbea799323675fec82a267edb9e5855d2b00d2 (diff)
downloadweechat-ccc6cdace144eebfc1459cf5722689e35374c859.zip
irc: fix color of new nick in nick changes messages when option irc.look.color_nicks_in_server_messages is off
-rw-r--r--ChangeLog.asciidoc2
-rw-r--r--src/plugins/irc/irc-protocol.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog.asciidoc b/ChangeLog.asciidoc
index 69921cc8b..5c5ec4b37 100644
--- a/ChangeLog.asciidoc
+++ b/ChangeLog.asciidoc
@@ -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)
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index c4fa3cf5d..a3bd8055e 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -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);