diff options
author | Max Teufel <max@teufelsnetz.com> | 2018-09-16 08:20:35 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-06-03 07:59:04 +0200 |
commit | 0027c23b7e4439e6bd1d2278e9b96f728323ba83 (patch) | |
tree | 17047f4e1c4908e9da95340931515d6afbe57707 /src/plugins/irc/irc-config.c | |
parent | 1f2d90b64344bef6f76dcc3d74abb7c1039e345a (diff) | |
download | weechat-0027c23b7e4439e6bd1d2278e9b96f728323ba83.zip |
irc: display account messages in buffers
Diffstat (limited to 'src/plugins/irc/irc-config.c')
-rw-r--r-- | src/plugins/irc/irc-config.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c index ec6f4b10b..5fa03e326 100644 --- a/src/plugins/irc/irc-config.c +++ b/src/plugins/irc/irc-config.c @@ -98,6 +98,7 @@ struct t_config_option *irc_config_look_pv_tags; struct t_config_option *irc_config_look_raw_messages; struct t_config_option *irc_config_look_server_buffer; struct t_config_option *irc_config_look_smart_filter; +struct t_config_option *irc_config_look_smart_filter_account; struct t_config_option *irc_config_look_smart_filter_chghost; struct t_config_option *irc_config_look_smart_filter_delay; struct t_config_option *irc_config_look_smart_filter_join; @@ -115,6 +116,8 @@ struct t_config_option *irc_config_color_item_channel_modes; struct t_config_option *irc_config_color_item_lag_counting; struct t_config_option *irc_config_color_item_lag_finished; struct t_config_option *irc_config_color_item_nick_modes; +struct t_config_option *irc_config_color_message_account; +struct t_config_option *irc_config_color_message_join; struct t_config_option *irc_config_color_message_chghost; struct t_config_option *irc_config_color_message_join; struct t_config_option *irc_config_color_message_kick; @@ -3071,6 +3074,13 @@ irc_config_init () "\"irc_smart_filter\", see /help filter)"), NULL, 0, 0, "on", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); + irc_config_look_smart_filter_account = weechat_config_new_option ( + irc_config_file, ptr_section, + "smart_filter_account", "boolean", + /* TRANSLATORS: please do not translate "account" */ + N_("enable smart filter for \"account\" messages"), + NULL, 0, 0, "on", NULL, 0, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); irc_config_look_smart_filter_chghost = weechat_config_new_option ( irc_config_file, ptr_section, "smart_filter_chghost", "boolean", @@ -3200,6 +3210,12 @@ irc_config_init () NULL, NULL, NULL, &irc_config_change_color_item_nick_modes, NULL, NULL, NULL, NULL, NULL); + irc_config_color_message_account = weechat_config_new_option ( + irc_config_file, ptr_section, + "message_account", "color", + N_("color for text in account messages"), + NULL, -1, 0, "cyan", NULL, 0, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); irc_config_color_message_chghost = weechat_config_new_option ( irc_config_file, ptr_section, "message_chghost", "color", |