mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
Fix nick color in quit message for IRC private buffers
This commit is contained in:
@@ -1292,7 +1292,8 @@ irc_protocol_cmd_quit (struct t_irc_server *server, const char *command,
|
||||
_("%s%s%s %s(%s%s%s)%s has quit "
|
||||
"%s(%s%s%s)"),
|
||||
weechat_prefix ("quit"),
|
||||
IRC_COLOR_NICK_IN_SERVER_MESSAGE(ptr_nick),
|
||||
((ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE) && (ptr_channel->pv_remote_nick_color)) ?
|
||||
ptr_channel->pv_remote_nick_color : IRC_COLOR_NICK_IN_SERVER_MESSAGE(ptr_nick),
|
||||
nick,
|
||||
IRC_COLOR_CHAT_DELIMITERS,
|
||||
IRC_COLOR_CHAT_HOST,
|
||||
@@ -1314,7 +1315,8 @@ irc_protocol_cmd_quit (struct t_irc_server *server, const char *command,
|
||||
NULL : "irc_smart_filter"),
|
||||
_("%s%s%s %s(%s%s%s)%s has quit"),
|
||||
weechat_prefix ("quit"),
|
||||
IRC_COLOR_NICK_IN_SERVER_MESSAGE(ptr_nick),
|
||||
((ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE) && (ptr_channel->pv_remote_nick_color)) ?
|
||||
ptr_channel->pv_remote_nick_color : IRC_COLOR_NICK_IN_SERVER_MESSAGE(ptr_nick),
|
||||
nick,
|
||||
IRC_COLOR_CHAT_DELIMITERS,
|
||||
IRC_COLOR_CHAT_HOST,
|
||||
|
||||
Reference in New Issue
Block a user