Browse Source

[Fix] Fix '~' behaviour in composites

tags/1.7.6
Vsevolod Stakhov 6 years ago
parent
commit
3f29049a67
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libserver/composites.c

+ 1
- 1
src/libserver/composites.c View File

@@ -266,7 +266,7 @@ rspamd_composite_expr_process (gpointer input, rspamd_expression_atom_t *atom)
t = *beg;

if (t == '~') {
nrd->action &= ~RSPAMD_COMPOSITE_REMOVE_WEIGHT;
nrd->action &= ~RSPAMD_COMPOSITE_REMOVE_SYMBOL;
}
else if (t == '-') {
nrd->action &= ~(RSPAMD_COMPOSITE_REMOVE_WEIGHT|

Loading…
Cancel
Save