diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/cfg_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index a9ccb4231..5d6b1525b 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -1383,7 +1383,7 @@ rspamd_config_add_metric_symbol (struct rspamd_config *cfg, return FALSE; } - sym_def = g_hash_table_lookup (cfg->metrics_symbols, symbol); + sym_def = g_hash_table_lookup (metric->symbols, symbol); if (sym_def != NULL) { if (sym_def->priority >= priority) { |