aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
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);