summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-08-30 18:36:07 +0200
committerSébastien Helleu <flashcode@flashtux.org>2016-08-30 18:36:07 +0200
commit5d5335b2c1ab03f09f021d718c786c080741622b (patch)
treefb3cdaa58e5f1691a338fdf9464cdbfccaee1001 /src
parent9e5ad6aa3ec2d2781ffb2a983bd94ef1ec78ea0d (diff)
downloadweechat-5d5335b2c1ab03f09f021d718c786c080741622b.zip
irc: fix display of service notice mask (message 008) (closes #429)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-protocol.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index 26f497d5d..b85093758 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -2688,15 +2688,12 @@ IRC_PROTOCOL_CALLBACK(008)
irc_msgbuffer_get_target_buffer (server, argv[2], command, NULL, NULL),
date,
irc_protocol_tags (command, "irc_numeric", NULL, address),
- _("%sServer notice mask for %s%s%s is %s[%s%s%s]"),
+ _("%sServer notice mask for %s%s%s: %s"),
weechat_prefix ("network"),
irc_nick_color_for_msg (server, 1, NULL, argv[2]),
argv[2],
IRC_COLOR_RESET,
- IRC_COLOR_CHAT_DELIMITERS,
- IRC_COLOR_RESET,
- (argv[3][0] == ':') ? argv[3] + 1 : argv[3],
- IRC_COLOR_CHAT_DELIMITERS);
+ (argv_eol[3][0] == ':') ? argv_eol[3] + 1 : argv_eol[3]);
return WEECHAT_RC_OK;
}