summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-08-14 14:13:21 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-08-14 14:13:21 +0200
commitdd4863d67cc3a1e5b9c1aea6e9ec5e1432100a75 (patch)
tree857f136b2bf8ffc0c731cce48a60c37a81dbd728 /src/plugins/irc
parent08f13b3965cb339550f7cc8a9777ac6fe766356c (diff)
downloadweechat-dd4863d67cc3a1e5b9c1aea6e9ec5e1432100a75.zip
irc: add tag "nick_xxx" for messages join/part/quit and wallops
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-protocol.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index d62d718c3..b21a10a25 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -515,7 +515,7 @@ IRC_PROTOCOL_CALLBACK(join)
|| !weechat_config_boolean (irc_config_look_smart_filter_join)
|| ptr_nick_speaking) ?
NULL : "irc_smart_filter",
- NULL),
+ nick),
_("%s%s%s%s%s%s%s%s%s%s has joined %s%s%s"),
weechat_prefix ("join"),
IRC_COLOR_NICK_IN_SERVER_MESSAGE(ptr_nick),
@@ -1197,7 +1197,7 @@ IRC_PROTOCOL_CALLBACK(part)
|| !weechat_config_boolean (irc_config_look_smart_filter_quit)
|| ptr_nick_speaking) ?
NULL : "irc_smart_filter",
- NULL),
+ nick),
_("%s%s%s%s%s%s%s%s%s%s has left %s%s%s "
"%s(%s%s%s)"),
weechat_prefix ("quit"),
@@ -1230,7 +1230,7 @@ IRC_PROTOCOL_CALLBACK(part)
|| !weechat_config_boolean (irc_config_look_smart_filter_quit)
|| ptr_nick_speaking) ?
NULL : "irc_smart_filter",
- NULL),
+ nick),
_("%s%s%s%s%s%s%s%s%s%s has left "
"%s%s%s"),
weechat_prefix ("quit"),
@@ -1532,7 +1532,7 @@ IRC_PROTOCOL_CALLBACK(quit)
|| !weechat_config_boolean (irc_config_look_smart_filter_quit)
|| ptr_nick_speaking) ?
NULL : "irc_smart_filter",
- NULL),
+ nick),
_("%s%s%s%s%s%s%s%s%s%s has quit "
"%s(%s%s%s)"),
weechat_prefix ("quit"),
@@ -1563,7 +1563,7 @@ IRC_PROTOCOL_CALLBACK(quit)
|| !weechat_config_boolean (irc_config_look_smart_filter_quit)
|| ptr_nick_speaking) ?
NULL : "irc_smart_filter",
- NULL),
+ nick),
_("%s%s%s%s%s%s%s%s%s%s has quit"),
weechat_prefix ("quit"),
(ptr_channel->type == IRC_CHANNEL_TYPE_PRIVATE) ?
@@ -1809,7 +1809,7 @@ IRC_PROTOCOL_CALLBACK(wallops)
weechat_printf_tags (irc_msgbuffer_get_target_buffer (server, nick,
command, NULL,
NULL),
- irc_protocol_tags (command, NULL, NULL),
+ irc_protocol_tags (command, NULL, nick),
_("%sWallops from %s%s %s(%s%s%s)%s: %s"),
weechat_prefix ("network"),
IRC_COLOR_CHAT_NICK,