1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 01:33:12 +02:00

irc: remove display of channel in channel notices, display "PvNotice" for channel welcome notices

This commit is contained in:
Sebastien Helleu
2013-12-17 08:29:05 +01:00
parent 4a88caa1f2
commit 17052c0c67
2 changed files with 4 additions and 5 deletions
+2 -5
View File
@@ -1182,9 +1182,10 @@ IRC_PROTOCOL_CALLBACK(notice)
"notify_message" :
weechat_config_string (irc_config_look_notice_welcome_tags),
nick),
"%s%s%s%s%s(%s%s%s)%s%s%s%s%s: %s",
"%s%s%s%s%s%s(%s%s%s)%s: %s",
weechat_prefix ("network"),
IRC_COLOR_NOTICE,
(is_channel_orig) ? "" : "Pv",
/* TRANSLATORS: "Notice" is command name in IRC protocol (translation is frequently the same word) */
_("Notice"),
(notice_op) ? "Op" : ((notice_voice) ? "Voice" : ""),
@@ -1193,10 +1194,6 @@ IRC_PROTOCOL_CALLBACK(notice)
(nick && nick[0]) ? nick : "?",
IRC_COLOR_CHAT_DELIMITERS,
IRC_COLOR_RESET,
(is_channel_orig) ? " -> " : "",
(is_channel_orig) ? IRC_COLOR_CHAT_CHANNEL : "",
(is_channel_orig) ? pos_target : "",
IRC_COLOR_RESET,
pos_args);
}
else