diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-16 14:03:54 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-16 14:03:54 +0100 |
commit | 15b8293ffc8a64502d7faac7b54583c8441061c0 (patch) | |
tree | e2d803f43b7c373a5df65cbd1c78c1a7d4eba17d /conf | |
parent | a0f8924ef0cf0351bacbdc06a2c26ff60ed85b66 (diff) | |
download | rspamd-15b8293ffc8a64502d7faac7b54583c8441061c0.tar.gz rspamd-15b8293ffc8a64502d7faac7b54583c8441061c0.zip |
Do not use reconf for pure lua functions.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/lua/rspamd.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/lua/rspamd.lua b/conf/lua/rspamd.lua index b4de3835d..531d6b89a 100644 --- a/conf/lua/rspamd.lua +++ b/conf/lua/rspamd.lua @@ -49,7 +49,7 @@ reconf['R_WHITE_ON_WHITE'] = string.format('(!(%s) & (%s))', r_bgcolor, r_font_c reconf['R_FLASH_REDIR_IMGSHACK'] = '/^(?:http:\\/\\/)?img\\d{1,5}\\.imageshack\\.us\\/\\S+\\.swf/U' -- Different text parts -reconf['R_PARTS_DIFFER'] = function(task) +rspamd_conf.R_PARTS_DIFFER = function(task) local distance = task:get_mempool():get_variable('parts_distance', 'int') if distance then |