summaryrefslogtreecommitdiffstats
path: root/conf/modules.d
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-20 17:36:48 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-20 17:36:48 +0100
commit41ae3822c6462747ee8f4aa9a87a44272c51b671 (patch)
treef02e449f036ea3f377e782f06a1ab14a416d09e7 /conf/modules.d
parent56e9209f9cf6747d9b6e9b307e771e185ed0bc77 (diff)
downloadrspamd-41ae3822c6462747ee8f4aa9a87a44272c51b671.tar.gz
rspamd-41ae3822c6462747ee8f4aa9a87a44272c51b671.zip
[Minor] Fix local variable in script
Diffstat (limited to 'conf/modules.d')
-rw-r--r--conf/modules.d/surbl.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/modules.d/surbl.conf b/conf/modules.d/surbl.conf
index 02acae95e..34fdf8ed2 100644
--- a/conf/modules.d/surbl.conf
+++ b/conf/modules.d/surbl.conf
@@ -50,7 +50,7 @@ surbl {
process_script =<<EOD
function(url, suffix)
local cr = require "rspamd_cryptobox_hash"
- h = cr.create(url):base32():sub(1, 32)
+ local h = cr.create(url):base32():sub(1, 32)
return string.format("%s.%s", h, suffix)
end
EOD;