diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-02-26 15:45:33 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-02-26 15:45:33 +0000 |
commit | 4d386d0c689ad4607c67dcd634e53aadea940613 (patch) | |
tree | f9290e546342db163e361ba284d31630dc874850 /src/rspamd_proxy.c | |
parent | 66c4eda320e6a7d7e3d55a3868c1197941d9c259 (diff) | |
download | rspamd-4d386d0c689ad4607c67dcd634e53aadea940613.tar.gz rspamd-4d386d0c689ad4607c67dcd634e53aadea940613.zip |
[Minor] Allow to detect worker's scanner flag from lua
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r-- | src/rspamd_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index 6dedffff3..a7c20e34b 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -72,7 +72,7 @@ worker_t rspamd_proxy_worker = { "rspamd_proxy", /* Name */ init_rspamd_proxy, /* Init function */ start_rspamd_proxy, /* Start function */ - RSPAMD_WORKER_HAS_SOCKET | RSPAMD_WORKER_KILLABLE, + RSPAMD_WORKER_HAS_SOCKET | RSPAMD_WORKER_KILLABLE | RSPAMD_WORKER_SCANNER, RSPAMD_WORKER_SOCKET_TCP, /* TCP socket */ RSPAMD_WORKER_VER }; |