diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-11-11 18:48:34 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-11-11 18:48:34 +0300 |
commit | 06496123199f364065fa1e75bd4cd9d89304070d (patch) | |
tree | d97d0d12588cad5b6386937b1bf1fa32b5f239bf /src/plugins/lua/once_received.lua | |
parent | 51e97ee24d8178c85002255af4eb920324946ff2 (diff) | |
download | rspamd-06496123199f364065fa1e75bd4cd9d89304070d.tar.gz rspamd-06496123199f364065fa1e75bd4cd9d89304070d.zip |
* Add right way to pass config params with common names to lua scripts
Diffstat (limited to 'src/plugins/lua/once_received.lua')
-rw-r--r-- | src/plugins/lua/once_received.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/once_received.lua b/src/plugins/lua/once_received.lua index 3840eb0b0..bf8e31462 100644 --- a/src/plugins/lua/once_received.lua +++ b/src/plugins/lua/once_received.lua @@ -51,9 +51,9 @@ if opts then if n == 'symbol_strict' then symbol_strict = v elseif n == 'bad_host' then - table.insert(bad_hosts, string.lower(v)) + bad_hosts = v elseif n == 'good_host' then - table.insert(good_hosts, string.lower(v)) + good_hosts = v elseif n == 'metric' then metric = v end |