From fa240e8d1118f774ed885dafc2d4059c3f934dda Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 9 Jan 2011 10:12:20 +0100 Subject: Differenciate IRC notices from messages in private buffer (bug #31980) --- src/plugins/irc/irc-protocol.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index 1ba9411d5..585c53e9c 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -1001,14 +1001,16 @@ IRC_PROTOCOL_CALLBACK(notice) { if (!ptr_channel->topic) irc_channel_set_topic (ptr_channel, address); - + weechat_printf_tags (ptr_channel->buffer, irc_protocol_tags (command, "notify_private", nick), - "%s%s", - irc_nick_as_prefix (server, NULL, nick, - irc_nick_color_for_pv (ptr_channel, nick)), + "%s%s%s%s: %s", + weechat_prefix ("network"), + IRC_COLOR_CHAT_NICK, + nick, + IRC_COLOR_CHAT, pos_args); if ((ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE) && ptr_channel->has_quit_server) -- cgit v1.2.3