Browse Source

* restore filter's defscore on flush

master
Alex 'AdUser' Z 4 years ago
parent
commit
ad8d18240a
  1. 1
      src/filters/pcre.c
  2. 1
      src/filters/preg.c

1
src/filters/pcre.c

@ -193,6 +193,7 @@ flush(cfg_t *cfg) {
free(r);
}
cfg->regexps = NULL;
cfg->defscore = MATCH_DEFSCORE;
}
void

1
src/filters/preg.c

@ -150,6 +150,7 @@ flush(cfg_t *cfg) {
free(r);
}
cfg->regexps = NULL;
cfg->defscore = MATCH_DEFSCORE;
}
void

Loading…
Cancel
Save