1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53: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
View File
@@ -64,6 +64,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* aspell: fix detection of nicks with non-alphanumeric chars
* guile: disable guile gmp allocator (fix crash on unload of relay plugin)
(bug #40628)
* irc: remove display of channel in channel notices, display "PvNotice" for
channel welcome notices
* irc: add option irc.look.smart_filter_mode (task #12499)
* irc: add option irc.network.ban_mask_default (bug #26571)
* irc: add option irc.network.lag_max
+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