aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-09-01 15:15:36 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-09-01 15:15:36 +0100
commit110e204fd1f5bfe36b08961a746a76b30f7f57eb (patch)
tree7c0f03e8f7074d513dabc104436b380ab86cb643 /src/controller.c
parenta3ecb2533caf91578ecec24bd668a30a2ee6a28b (diff)
downloadrspamd-110e204fd1f5bfe36b08961a746a76b30f7f57eb.tar.gz
rspamd-110e204fd1f5bfe36b08961a746a76b30f7f57eb.zip
More fixes to dynamic settings.
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c2
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 (