From 5e8b0d3476c185f7a74e3f18e9066b97e58cb32a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 24 Feb 2016 23:15:05 +0000 Subject: Fix a stupid mistake --- src/libserver/cfg_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3