From 54fa810c0fa2af41bf078d66eeb48d85cefe1142 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 28 Mar 2016 13:54:40 +0100 Subject: [PATCH] [Fix] Do not use '|' symbol as it is operator's symbol Replace '|' with '^'. --- src/libserver/composites.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libserver/composites.c b/src/libserver/composites.c index f2656a690..c22909535 100644 --- a/src/libserver/composites.c +++ b/src/libserver/composites.c @@ -206,7 +206,7 @@ rspamd_composite_expr_process (gpointer input, rspamd_expression_atom_t *atom) nrd->action &= ~(RSPAMD_COMPOSITE_REMOVE_WEIGHT| RSPAMD_COMPOSITE_REMOVE_SYMBOL); } - else if (t == '|') { + else if (t == '^') { nrd->action |= RSPAMD_COMPOSITE_REMOVE_FORCED; } else { -- 2.39.5