diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-02-22 17:36:34 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-02-22 17:36:34 +0300 |
commit | cb34e117a397a6d27734cf3564001bfec97ec0ea (patch) | |
tree | cca31c7d6dff37904ab2164e761b13c054a65cd7 /src/filter.c | |
parent | 5492467747da01e72fe8b9e80ebee28121c68dc6 (diff) | |
download | rspamd-cb34e117a397a6d27734cf3564001bfec97ec0ea.tar.gz rspamd-cb34e117a397a6d27734cf3564001bfec97ec0ea.zip |
* Add options section into config to organize options
* Add one_shot option for avoiding inserting several results from one rule
Fix parsing of headers with \t symbol [1]
Reported by: Victor Ustugov [1]
Diffstat (limited to 'src/filter.c')
-rw-r--r-- | src/filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter.c b/src/filter.c index 4b8585a7c..d41c85ff0 100644 --- a/src/filter.c +++ b/src/filter.c @@ -171,7 +171,7 @@ insert_result_common (struct worker_task *task, const gchar *symbol, double flag void insert_result (struct worker_task *task, const gchar *symbol, double flag, GList * opts) { - insert_result_common (task, symbol, flag, opts, FALSE); + insert_result_common (task, symbol, flag, opts, task->cfg->one_shot_mode); } /* Insert result as a single option */ |