]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Do not use '|' symbol as it is operator's symbol
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 28 Mar 2016 12:54:40 +0000 (13:54 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 28 Mar 2016 12:54:40 +0000 (13:54 +0100)
Replace '|' with '^'.

src/libserver/composites.c

index f2656a690642182ee06f48ef841860c2aa22827c..c229095352976c4815255e26d143118564c09b3e 100644 (file)
@@ -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 {