summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-channel.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-03-06 18:03:03 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-03-06 18:03:03 +0100
commitfe3bdb5f52dd50dc66eaea5b42b67112fbb3a6a3 (patch)
treec9bb26af06b2c4c373a3bb02def406fc854dddb9 /src/plugins/irc/irc-channel.c
parent0552bdefa0cedc637fcd0ee23b1cf22e05979645 (diff)
downloadweechat-fe3bdb5f52dd50dc66eaea5b42b67112fbb3a6a3.zip
irc: compute hash to find nick color for nick in server message when nick is not in nicklist
Diffstat (limited to 'src/plugins/irc/irc-channel.c')
-rw-r--r--src/plugins/irc/irc-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-channel.c b/src/plugins/irc/irc-channel.c
index 6b9906707..4b8dc06fd 100644
--- a/src/plugins/irc/irc-channel.c
+++ b/src/plugins/irc/irc-channel.c
@@ -778,7 +778,7 @@ irc_channel_display_nick_back_in_pv (struct t_irc_server *server,
weechat_printf (ptr_channel->buffer,
_("%s%s%s %s(%s%s%s)%s is back on server"),
weechat_prefix ("join"),
- IRC_COLOR_NICK_IN_SERVER_MESSAGE(nick),
+ irc_nick_color_for_server_message (nick, nickname),
(nick) ? nick->name : nickname,
IRC_COLOR_CHAT_DELIMITERS,
IRC_COLOR_CHAT_HOST,