瀏覽代碼

[Fix] Fix '~' behaviour in composites

tags/1.7.6
Vsevolod Stakhov 6 年之前
父節點
當前提交
3f29049a67
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/libserver/composites.c

+ 1
- 1
src/libserver/composites.c 查看文件

@@ -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…
取消
儲存