Kaynağa Gözat

[Rework] Default max shots must not influence options

Issue: #4450
tags/3.6
Vsevolod Stakhov 1 yıl önce
ebeveyn
işleme
d0b6114490
No account linked to committer's email address
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1
    2
      src/libmime/scan_result.c

+ 1
- 2
src/libmime/scan_result.c Dosyayı Görüntüle

@@ -766,8 +766,7 @@ rspamd_task_add_result_option (struct rspamd_task *task,
cur->opts_len = -1;
}

if (!(cur->sym && (cur->sym->flags & RSPAMD_SYMBOL_FLAG_ONEPARAM)) &&
kh_size (cur->options) < task->cfg->default_max_shots) {
if (!(cur->sym && (cur->sym->flags & RSPAMD_SYMBOL_FLAG_ONEPARAM))) {

srch.option = (gchar *) val;
srch.optlen = vlen;

Loading…
İptal
Kaydet