aboutsummaryrefslogtreecommitdiffstats
path: root/conf/lua/rspamd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'conf/lua/rspamd.lua')
-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