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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user