diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-10-11 20:26:34 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-10-11 20:26:34 +0200 |
commit | 876a0a16095317cb468bc8be7145c79f9353e573 (patch) | |
tree | c2e91781d6819b205d4222644928078c45001288 /src/plugins/irc/irc-config.c | |
parent | 1dda5ffd02fcec3a11027c45fbc05e5408024669 (diff) | |
download | weechat-876a0a16095317cb468bc8be7145c79f9353e573.zip |
irc: add option irc.look.display_pv_warning_address (closes #892)
If the address of remote nick changes in a private buffer, a warning is
displayed.
Diffstat (limited to 'src/plugins/irc/irc-config.c')
-rw-r--r-- | src/plugins/irc/irc-config.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c index 6943f0a5e..dd18a268c 100644 --- a/src/plugins/irc/irc-config.c +++ b/src/plugins/irc/irc-config.c @@ -70,6 +70,7 @@ struct t_config_option *irc_config_look_display_join_message; struct t_config_option *irc_config_look_display_old_topic; struct t_config_option *irc_config_look_display_pv_away_once; struct t_config_option *irc_config_look_display_pv_back; +struct t_config_option *irc_config_look_display_pv_warning_address; struct t_config_option *irc_config_look_highlight_channel; struct t_config_option *irc_config_look_highlight_pv; struct t_config_option *irc_config_look_highlight_server; @@ -2825,6 +2826,13 @@ irc_config_init () "server)"), NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); + irc_config_look_display_pv_warning_address = weechat_config_new_option ( + irc_config_file, ptr_section, + "display_pv_warning_address", "boolean", + N_("display a warning in private buffer if the address of remote nick " + "has changed"), + NULL, 0, 0, "on", NULL, 0, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); irc_config_look_highlight_channel = weechat_config_new_option ( irc_config_file, ptr_section, "highlight_channel", "string", |