From fe3bdb5f52dd50dc66eaea5b42b67112fbb3a6a3 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 6 Mar 2012 18:03:03 +0100 Subject: irc: compute hash to find nick color for nick in server message when nick is not in nicklist --- src/plugins/irc/irc-channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/irc/irc-channel.c') 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, -- cgit v1.2.3