From: Vsevolod Stakhov Date: Wed, 18 Apr 2018 10:23:49 +0000 (+0100) Subject: [Minor] Fix template X-Git-Tag: 1.7.4~76 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0eee0993c252d642f29ecf61741d2a5a3d855897;p=rspamd.git [Minor] Fix template --- 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