summaryrefslogtreecommitdiff
path: root/src/plugins/buflist/buflist-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/buflist/buflist-config.c')
-rw-r--r--src/plugins/buflist/buflist-config.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/buflist/buflist-config.c b/src/plugins/buflist/buflist-config.c
index 70bc30d21..65e518108 100644
--- a/src/plugins/buflist/buflist-config.c
+++ b/src/plugins/buflist/buflist-config.c
@@ -39,6 +39,7 @@ struct t_config_option *buflist_config_format_buffer;
struct t_config_option *buflist_config_format_buffer_current;
struct t_config_option *buflist_config_format_hotlist[4];
struct t_config_option *buflist_config_format_hotlist_none;
+struct t_config_option *buflist_config_format_lag;
char **buflist_config_sort_fields = NULL;
int buflist_config_sort_fields_count = 0;
@@ -212,6 +213,16 @@ buflist_config_init ()
NULL, NULL, NULL,
&buflist_config_change_buflist, NULL, NULL,
NULL, NULL, NULL);
+ buflist_config_format_lag = weechat_config_new_option (
+ buflist_config_file, ptr_section,
+ "lag", "string",
+ N_("format for lag on an irc server buffer"),
+ NULL, 0, 0,
+ " ${color:green}[${color:brown}${lag}${color:green}]",
+ NULL, 0,
+ NULL, NULL, NULL,
+ &buflist_config_change_buflist, NULL, NULL,
+ NULL, NULL, NULL);
return 1;
}