aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-24 14:10:36 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-24 14:10:36 +0100
commit585f56a53a28acf92e120c98ead516cc0c4f3893 (patch)
treee88f7997b04396bc3414cb108aab1136dafd61a7 /src/libserver
parentd86a2e8d9ac7489fe0189104db434e2283559620 (diff)
downloadrspamd-585f56a53a28acf92e120c98ead516cc0c4f3893.tar.gz
rspamd-585f56a53a28acf92e120c98ead516cc0c4f3893.zip
Fix logic of parsing symbol groups.
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/cfg_rcl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index ad0ed8bc3..39cf3102d 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -544,7 +544,7 @@ rspamd_rcl_metric_handler (rspamd_mempool_t *pool, const ucl_object_t *obj,
if (elt) {
if (!rspamd_rcl_symbols_handler (pool, cur, cfg, metric,
ucl_object_tostring (elt),
- have_symbols, err)) {
+ !have_symbols, err)) {
return FALSE;
}
@@ -566,7 +566,7 @@ rspamd_rcl_metric_handler (rspamd_mempool_t *pool, const ucl_object_t *obj,
/* Handle symbols */
if (!rspamd_rcl_symbols_handler (pool, obj, cfg, metric, NULL,
- have_symbols, err)) {
+ !have_symbols, err)) {
return FALSE;
}