summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-16 14:03:54 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-16 14:03:54 +0100
commit15b8293ffc8a64502d7faac7b54583c8441061c0 (patch)
treee2d803f43b7c373a5df65cbd1c78c1a7d4eba17d /conf
parenta0f8924ef0cf0351bacbdc06a2c26ff60ed85b66 (diff)
downloadrspamd-15b8293ffc8a64502d7faac7b54583c8441061c0.tar.gz
rspamd-15b8293ffc8a64502d7faac7b54583c8441061c0.zip
Do not use reconf for pure lua functions.
Diffstat (limited to 'conf')
-rw-r--r--conf/lua/rspamd.lua2
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