aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-24 23:15:05 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-24 23:15:05 +0000
commit5e8b0d3476c185f7a74e3f18e9066b97e58cb32a (patch)
treea4ed8493b1b1e1ab901a6fc7eaca8c699ec6157f /src
parentf4e9928ae179eafc13ee564682e9946a24691b7d (diff)
downloadrspamd-5e8b0d3476c185f7a74e3f18e9066b97e58cb32a.tar.gz
rspamd-5e8b0d3476c185f7a74e3f18e9066b97e58cb32a.zip
Fix a stupid mistake
Diffstat (limited to 'src')
-rw-r--r--src/libserver/cfg_utils.c2
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) {