diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-23 17:52:24 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-23 17:52:24 +0000 |
commit | 7021ddcc38a0f05b2bf69849f645a848e06be1e2 (patch) | |
tree | 1c9118b1c506bdeb437d04981f5ca4a9bc3fcfa3 /src/plugins/lua/once_received.lua | |
parent | 24310718feff52210eb9e6046f250a7f65fa83f1 (diff) | |
download | rspamd-7021ddcc38a0f05b2bf69849f645a848e06be1e2.tar.gz rspamd-7021ddcc38a0f05b2bf69849f645a848e06be1e2.zip |
[Minor] Remove deprecated API calls
Diffstat (limited to 'src/plugins/lua/once_received.lua')
-rw-r--r-- | src/plugins/lua/once_received.lua | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/lua/once_received.lua b/src/plugins/lua/once_received.lua index 65e6127c9..00161159f 100644 --- a/src/plugins/lua/once_received.lua +++ b/src/plugins/lua/once_received.lua @@ -129,16 +129,6 @@ local function check_quantity_received (task) end end --- Registration -if type(rspamd_config.get_api_version) ~= 'nil' then - if rspamd_config:get_api_version() >= 1 then - rspamd_config:register_module_option('once_received', 'symbol', 'string') - rspamd_config:register_module_option('once_received', 'symbol_strict', 'string') - rspamd_config:register_module_option('once_received', 'bad_host', 'string') - rspamd_config:register_module_option('once_received', 'good_host', 'string') - end -end - local opts = rspamd_config:get_all_opt('options') if opts and type(opts) ~= 'table' then if type(opts['check_local']) == 'boolean' then |