diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-01 15:15:36 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-01 15:15:36 +0100 |
commit | 110e204fd1f5bfe36b08961a746a76b30f7f57eb (patch) | |
tree | 7c0f03e8f7074d513dabc104436b380ab86cb643 /src/controller.c | |
parent | a3ecb2533caf91578ecec24bd668a30a2ee6a28b (diff) | |
download | rspamd-110e204fd1f5bfe36b08961a746a76b30f7f57eb.tar.gz rspamd-110e204fd1f5bfe36b08961a746a76b30f7f57eb.zip |
More fixes to dynamic settings.
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c index 8a821aa43..0d95889f5 100644 --- a/src/controller.c +++ b/src/controller.c @@ -375,7 +375,7 @@ rspamd_controller_handle_actions (struct rspamd_http_connection_entry *conn_ent, if (metric != NULL) { for (i = METRIC_ACTION_REJECT; i < METRIC_ACTION_MAX; i++) { act = &metric->actions[i]; - if (act->score > 0) { + if (act->score >= 0) { obj = ucl_object_typed_new (UCL_OBJECT); ucl_object_insert_key (obj, ucl_object_fromstring (str_action_metric ( |