summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/bayes_expiry.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-18 11:23:49 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-18 11:23:49 +0100
commit0eee0993c252d642f29ecf61741d2a5a3d855897 (patch)
treebfd902b0d75373e8b19ceb8812251652c6ff934b /src/plugins/lua/bayes_expiry.lua
parent58daf4bbaf190164a901b9c3aaba94bf0599fe52 (diff)
downloadrspamd-0eee0993c252d642f29ecf61741d2a5a3d855897.tar.gz
rspamd-0eee0993c252d642f29ecf61741d2a5a3d855897.zip
[Minor] Fix template
Diffstat (limited to 'src/plugins/lua/bayes_expiry.lua')
-rw-r--r--src/plugins/lua/bayes_expiry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/bayes_expiry.lua b/src/plugins/lua/bayes_expiry.lua
index 77ec2e527..c73601e0b 100644
--- a/src/plugins/lua/bayes_expiry.lua
+++ b/src/plugins/lua/bayes_expiry.lua
@@ -166,7 +166,7 @@ local expiry_script = [[
local lock = redis.call('GET', lock_key)
if lock then
- if lock ~= ${hostname} then
+ if lock ~= '${hostname}' then
return 'locked by ' .. lock
end
end