1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

Differenciate IRC notices from messages in private buffer (bug #31980)

This commit is contained in:
Sebastien Helleu
2011-01-09 10:12:20 +01:00
parent f7b473790b
commit fa240e8d11
2 changed files with 8 additions and 5 deletions
+6 -4
View File
@@ -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)