summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-config.c2
-rw-r--r--src/core/wee-config.h1
-rw-r--r--src/core/wee-secure-config.c2
-rw-r--r--src/core/wee-secure-config.h1
4 files changed, 4 insertions, 2 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index 3d9bae15c..281f7020d 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -2635,7 +2635,7 @@ config_weechat_init_options ()
char section_name[128];
weechat_config_file = config_file_new (
- NULL, WEECHAT_CONFIG_NAME, &config_weechat_reload_cb, NULL, NULL);
+ NULL, WEECHAT_CONFIG_PRIO_NAME, &config_weechat_reload_cb, NULL, NULL);
if (!weechat_config_file)
return 0;
diff --git a/src/core/wee-config.h b/src/core/wee-config.h
index 9f9f54cc8..cb38034fc 100644
--- a/src/core/wee-config.h
+++ b/src/core/wee-config.h
@@ -29,6 +29,7 @@
struct t_gui_buffer;
#define WEECHAT_CONFIG_NAME "weechat"
+#define WEECHAT_CONFIG_PRIO_NAME "110000|weechat"
#define TAB_MAX_WIDTH 64
diff --git a/src/core/wee-secure-config.c b/src/core/wee-secure-config.c
index 707b5d8ed..4ff2fd7b8 100644
--- a/src/core/wee-secure-config.c
+++ b/src/core/wee-secure-config.c
@@ -446,7 +446,7 @@ secure_config_init_options ()
{
struct t_config_section *ptr_section;
- secure_config_file = config_file_new (NULL, SECURE_CONFIG_NAME,
+ secure_config_file = config_file_new (NULL, SECURE_CONFIG_PRIO_NAME,
&secure_config_reload_cb, NULL, NULL);
if (!secure_config_file)
return 0;
diff --git a/src/core/wee-secure-config.h b/src/core/wee-secure-config.h
index d8535b268..b7867240e 100644
--- a/src/core/wee-secure-config.h
+++ b/src/core/wee-secure-config.h
@@ -21,6 +21,7 @@
#define WEECHAT_SECURE_CONFIG_H
#define SECURE_CONFIG_NAME "sec"
+#define SECURE_CONFIG_PRIO_NAME "120000|sec"
extern struct t_config_file *secure_config_file;
extern struct t_config_section *secure_config_section_pwd;