1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

irc: add option irc.look.display_host_wallops

This commit is contained in:
Sébastien Helleu
2023-12-10 21:13:00 +01:00
parent 3db8eb65ff
commit b3422b96c0
19 changed files with 105 additions and 22 deletions
@@ -3404,6 +3404,13 @@ TEST(IrcProtocolWithServer, wallops)
RECV(":alice!user@host WALLOPS :message from admin ");
CHECK_SRV("--", "Wallops from alice (user@host): message from admin ",
"irc_wallops,notify_private,nick_alice,host_user@host,log3");
/* wallops with option irc.look.display_host_wallops set to off */
config_file_option_set (irc_config_look_display_host_wallops, "off", 1);
RECV(":alice!user@host WALLOPS :message from admin ");
CHECK_SRV("--", "Wallops from alice: message from admin ",
"irc_wallops,notify_private,nick_alice,host_user@host,log3");
config_file_option_reset (irc_config_look_display_host_wallops, 1);
}
/*