aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-25 10:07:49 +0200
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-10-25 10:08:06 +0200
commit0edaed34e4377c4cd06e2a28d14d9117499c1826 (patch)
tree43729bdd372521fe07798190650041fbe0799886 /src/controller.c
parent0758d1ea48a275214b79fc64908901d469e17b89 (diff)
downloadrspamd-0edaed34e4377c4cd06e2a28d14d9117499c1826.tar.gz
rspamd-0edaed34e4377c4cd06e2a28d14d9117499c1826.zip
[Feature] Allow to update dynamic conf in Redis
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/controller.c b/src/controller.c
index 4fa2b137a..65b40ca5a 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -1854,15 +1854,6 @@ rspamd_controller_handle_saveactions (
return 0;
}
- /* Now check for dynamic config */
- if (!ctx->cfg->dynamic_conf) {
- msg_err_session ("dynamic conf has not been defined");
- rspamd_controller_send_error (conn_ent,
- 500,
- "No dynamic_rules setting defined");
- return 0;
- }
-
parser = ucl_parser_new (0);
ucl_parser_add_chunk (parser, msg->body_buf.begin, msg->body_buf.len);
@@ -1973,15 +1964,6 @@ rspamd_controller_handle_savesymbols (
return 0;
}
- /* Now check for dynamic config */
- if (!ctx->cfg->dynamic_conf) {
- msg_err_session ("dynamic conf has not been defined");
- rspamd_controller_send_error (conn_ent,
- 500,
- "No dynamic_rules setting defined");
- return 0;
- }
-
parser = ucl_parser_new (0);
ucl_parser_add_chunk (parser, msg->body_buf.begin, msg->body_buf.len);