summaryrefslogtreecommitdiff
path: root/src/core/wee-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-config.c')
-rw-r--r--src/core/wee-config.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index e1cecc7ee..11d399fd2 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -153,6 +153,7 @@ struct t_config_option *config_look_mouse;
struct t_config_option *config_look_mouse_timer_delay;
struct t_config_option *config_look_nick_color_force;
struct t_config_option *config_look_nick_color_hash;
+struct t_config_option *config_look_nick_color_hash_salt;
struct t_config_option *config_look_nick_color_stop_chars;
struct t_config_option *config_look_nick_prefix;
struct t_config_option *config_look_nick_suffix;
@@ -3246,6 +3247,13 @@ config_weechat_init_options ()
"using 32-bit instead of 64-bit integer"),
"djb2|sum|djb2_32|sum_32", 0, 0, "djb2", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ config_look_nick_color_hash_salt = config_file_new_option (
+ weechat_config_file, ptr_section,
+ "nick_color_hash_salt", "string",
+ N_("salt to be used with the hash algorithm used for nick colors; "
+ "modifying this shuffles nick colors"),
+ NULL, 0, 0, "", NULL, 0,
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
config_look_nick_color_stop_chars = config_file_new_option (
weechat_config_file, ptr_section,
"nick_color_stop_chars", "string",