aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/cfg_rcl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index 3be0a655c..8d18335d2 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -3440,6 +3440,7 @@ rspamd_config_parse_ucl (struct rspamd_config *cfg, const gchar *filename,
parser = ucl_parser_new (UCL_PARSER_SAVE_COMMENTS);
rspamd_ucl_add_conf_variables (parser, vars);
rspamd_ucl_add_conf_macros (parser, cfg);
+ ucl_parser_set_filevars (parser, filename, true);
if (decrypt_keypair) {
struct ucl_parser_special_handler *decrypt_handler;