mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 05:46:38 +02:00
irc: add missing tag "log3" in notify messages
This commit is contained in:
@@ -86,6 +86,7 @@ Bug fixes::
|
||||
* irc: fix target buffer for commands 432/433 (erroneous nickname/nickname already in use) when the nickname looks like a channel
|
||||
* irc: display command 437 on server buffer when nickname cannot change while banned on channel (issue #88)
|
||||
* irc: add messages 415 (cannot send message to channel) and 742 (mode cannot be set)
|
||||
* irc: add missing tag "log3" in notify messages
|
||||
* lua: fix crash with print when the value to print is not a string (issue #1904, issue #1905)
|
||||
* ruby: fix crash on quit when a child process is still running (issue #1889, issue #1915)
|
||||
* script: remove trailing "J" (line feed char) in source of scripts displayed
|
||||
|
||||
@@ -629,7 +629,8 @@ irc_notify_get_tags (struct t_config_option *option, const char *type,
|
||||
|
||||
tags = weechat_config_string (option);
|
||||
|
||||
snprintf (string, sizeof (string), "irc_notify,irc_notify_%s,nick_%s%s%s",
|
||||
snprintf (string, sizeof (string),
|
||||
"irc_notify,irc_notify_%s,nick_%s%s%s,log3",
|
||||
type,
|
||||
nick,
|
||||
(tags && tags[0]) ? "," : "",
|
||||
|
||||
@@ -5161,18 +5161,18 @@ TEST(IrcProtocolWithServer, 730)
|
||||
run_cmd_quiet ("/notify add nick1 " IRC_FAKE_SERVER);
|
||||
RECV(":server 730 alice :nick1!user1@host1,nick2!user2@host2");
|
||||
CHECK_SRV("--", "notify: nick1 (user1@host1) is connected",
|
||||
"irc_notify,irc_notify_join,nick_nick1,notify_message");
|
||||
"irc_notify,irc_notify_join,nick_nick1,notify_message,log3");
|
||||
RECV(":server 731 alice :nick1!user1@host1,nick2!user2@host2");
|
||||
CHECK_SRV("--", "notify: nick1 (user1@host1) has quit",
|
||||
"irc_notify,irc_notify_quit,nick_nick1,notify_message");
|
||||
"irc_notify,irc_notify_quit,nick_nick1,notify_message,log3");
|
||||
|
||||
/* with notify on nick1 and nick2 */
|
||||
run_cmd_quiet ("/notify add nick2 " IRC_FAKE_SERVER);
|
||||
RECV(":server 730 alice :nick1!user1@host1,nick2!user2@host2");
|
||||
CHECK_SRV("--", "notify: nick1 (user1@host1) has connected",
|
||||
"irc_notify,irc_notify_join,nick_nick1,notify_message");
|
||||
"irc_notify,irc_notify_join,nick_nick1,notify_message,log3");
|
||||
CHECK_SRV("--", "notify: nick2 (user2@host2) is connected",
|
||||
"irc_notify,irc_notify_join,nick_nick2,notify_message");
|
||||
"irc_notify,irc_notify_join,nick_nick2,notify_message,log3");
|
||||
|
||||
run_cmd_quiet ("/mute /notify del nick1 " IRC_FAKE_SERVER);
|
||||
run_cmd_quiet ("/mute /notify del nick2 " IRC_FAKE_SERVER);
|
||||
|
||||
Reference in New Issue
Block a user