aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-10 10:28:37 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-10 10:29:00 +0000
commit02621b42c1a2459716f99a36c5ac4d05f07339dc (patch)
tree0f6833f9b8260a51bce69490b287c19deb809257 /src/controller.c
parentf8acd626e885ad3767ed3c445989eb4c8d85aa83 (diff)
downloadrspamd-02621b42c1a2459716f99a36c5ac4d05f07339dc.tar.gz
rspamd-02621b42c1a2459716f99a36c5ac4d05f07339dc.zip
[Minor] Disable lua files execution for now
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c
index bdbbe23c6..8406b6236 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -3558,10 +3558,12 @@ start_controller_worker (struct rspamd_worker *worker)
rspamd_controller_handle_plugins);
rspamd_controller_register_plugins_paths (ctx);
+#if 0
rspamd_regexp_t *lua_re = rspamd_regexp_new ("^/.*/.*\\.lua$", NULL, NULL);
rspamd_http_router_add_regexp (ctx->http, lua_re,
rspamd_controller_handle_lua);
rspamd_regexp_unref (lua_re);
+#endif
luaopen_controller (ctx->cfg->lua_state);
if (ctx->key) {